From: David Chinner Date: Thu, 10 Apr 2008 02:21:40 +0000 (+1000) Subject: [XFS] xfs_bmap_adjacent() never returns an error. X-Git-Tag: v2.6.26-rc1~1147^2~27 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c2b1cba6833da77b1b478ac144f9cf5144d276ec;p=linux-2.6-omap-h63xx.git [XFS] xfs_bmap_adjacent() never returns an error. Mark it void. SGI-PV: 980084 SGI-Modid: xfs-linux-melb:xfs-kern:30798a Signed-off-by: David Chinner Signed-off-by: Niv Sardi Signed-off-by: Lachlan McIlroy --- diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index 65b8fa83e07..6d9b5448deb 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c @@ -2402,7 +2402,7 @@ xfs_bmap_extsize_align( #define XFS_ALLOC_GAP_UNITS 4 -STATIC int +STATIC void xfs_bmap_adjacent( xfs_bmalloca_t *ap) /* bmap alloc argument struct */ { @@ -2548,7 +2548,6 @@ xfs_bmap_adjacent( ap->rval = gotbno; } #undef ISVALID - return 0; } STATIC int