From: David Chinner Date: Thu, 10 Apr 2008 02:24:04 +0000 (+1000) Subject: [XFS] xfs_bulkstat_one_dinode() never returns an error. X-Git-Tag: v2.6.26-rc1~1147^2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7b07339048f7b020575706b492c004b5664b67ab;p=linux-2.6-omap-h63xx.git [XFS] xfs_bulkstat_one_dinode() never returns an error. Mark it void. SGI-PV: 980084 SGI-Modid: xfs-linux-melb:xfs-kern:30828a Signed-off-by: David Chinner Signed-off-by: Niv Sardi Signed-off-by: Lachlan McIlroy --- diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 45d8776408e..eb85bdedad0 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c @@ -129,7 +129,7 @@ xfs_bulkstat_one_iget( return error; } -STATIC int +STATIC void xfs_bulkstat_one_dinode( xfs_mount_t *mp, /* mount point for filesystem */ xfs_ino_t ino, /* inode number to get data for */ @@ -198,8 +198,6 @@ xfs_bulkstat_one_dinode( buf->bs_blocks = be64_to_cpu(dic->di_nblocks); break; } - - return 0; } STATIC int