Commit b2963932 authored by Bob Peterson's avatar Bob Peterson Committed by Andreas Gruenbacher
Browse files

gfs2: Remove return value for gfs2_indirect_init



The return value from function gfs2_indirect_init is never used, so
remove it.

Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent a4e8145e
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -606,7 +606,7 @@ static int gfs2_hole_size(struct inode *inode, sector_t lblock, u64 len,
	return ret;
}

static inline __be64 *gfs2_indirect_init(struct metapath *mp,
static inline void gfs2_indirect_init(struct metapath *mp,
				      struct gfs2_glock *gl, unsigned int i,
				      unsigned offset, u64 bn)
{
@@ -621,7 +621,6 @@ static inline __be64 *gfs2_indirect_init(struct metapath *mp,
	gfs2_buffer_clear_tail(mp->mp_bh[i], sizeof(struct gfs2_meta_header));
	ptr += offset;
	*ptr = cpu_to_be64(bn);
	return ptr;
}

enum alloc_state {