diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-09-20 12:16:11 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-10-21 12:39:52 +0100 |
commit | 9ae32429fe036fcfce036ec57b28fc59f3911976 (patch) | |
tree | a331589e14fef9f8149fc3e1f00baab7d60260fe /fs/gfs2/rgrp.h | |
parent | 891a8e9335176b7eb9adc5e34f555ee5e1da47c6 (diff) |
GFS2: Remove two unused variables
The two variables being initialised in gfs2_inplace_reserve
to track the file & line number of the caller are never
used, so we might as well remove them.
If something does go wrong, then a stack trace is probably
more useful anyway.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.h')
-rw-r--r-- | fs/gfs2/rgrp.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/gfs2/rgrp.h b/fs/gfs2/rgrp.h index 0e886d83078..cf5c5018019 100644 --- a/fs/gfs2/rgrp.h +++ b/fs/gfs2/rgrp.h @@ -36,11 +36,7 @@ static inline void gfs2_alloc_put(struct gfs2_inode *ip) ip->i_alloc = NULL; } -extern int gfs2_inplace_reserve_i(struct gfs2_inode *ip, - char *file, unsigned int line); -#define gfs2_inplace_reserve(ip) \ - gfs2_inplace_reserve_i((ip), __FILE__, __LINE__) - +extern int gfs2_inplace_reserve(struct gfs2_inode *ip); extern void gfs2_inplace_release(struct gfs2_inode *ip); extern int gfs2_alloc_block(struct gfs2_inode *ip, u64 *bn, unsigned int *n); |