Skip to content

Commit

Permalink
[XFS] xfs_bmap_adjacent() never returns an error.
Browse files Browse the repository at this point in the history
Mark it void.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30798a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
  • Loading branch information
David Chinner authored and Lachlan McIlroy committed Apr 18, 2008
1 parent 12375c8 commit c2b1cba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/xfs/xfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
{
Expand Down Expand Up @@ -2548,7 +2548,6 @@ xfs_bmap_adjacent(
ap->rval = gotbno;
}
#undef ISVALID
return 0;
}

STATIC int
Expand Down

0 comments on commit c2b1cba

Please sign in to comment.