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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b07339048f7b020575706b492c004b5664b67ab;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 45d8776408ef..eb85bdedad0c 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