diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-09-20 07:16:11 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-10-21 07:39:52 -0400 |
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 0e886d830784..cf5c50180192 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) | |||
36 | ip->i_alloc = NULL; | 36 | ip->i_alloc = NULL; |
37 | } | 37 | } |
38 | 38 | ||
39 | extern int gfs2_inplace_reserve_i(struct gfs2_inode *ip, | 39 | extern int gfs2_inplace_reserve(struct gfs2_inode *ip); |
40 | char *file, unsigned int line); | ||
41 | #define gfs2_inplace_reserve(ip) \ | ||
42 | gfs2_inplace_reserve_i((ip), __FILE__, __LINE__) | ||
43 | |||
44 | extern void gfs2_inplace_release(struct gfs2_inode *ip); | 40 | extern void gfs2_inplace_release(struct gfs2_inode *ip); |
45 | 41 | ||
46 | extern int gfs2_alloc_block(struct gfs2_inode *ip, u64 *bn, unsigned int *n); | 42 | extern int gfs2_alloc_block(struct gfs2_inode *ip, u64 *bn, unsigned int *n); |