aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/gfs2/eaops.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/gfs2/eaops.c b/fs/gfs2/eaops.c
index ef91b6e893a0..14fbd95fd664 100644
--- a/fs/gfs2/eaops.c
+++ b/fs/gfs2/eaops.c
@@ -58,22 +58,16 @@ unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name)
58 58
59static int user_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er) 59static int user_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er)
60{ 60{
61 struct inode *inode = &ip->i_inode;
62
63 return gfs2_ea_get_i(ip, er); 61 return gfs2_ea_get_i(ip, er);
64} 62}
65 63
66static int user_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er) 64static int user_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er)
67{ 65{
68 struct inode *inode = &ip->i_inode;
69
70 return gfs2_ea_set_i(ip, er); 66 return gfs2_ea_set_i(ip, er);
71} 67}
72 68
73static int user_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er) 69static int user_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er)
74{ 70{
75 struct inode *inode = &ip->i_inode;
76
77 return gfs2_ea_remove_i(ip, er); 71 return gfs2_ea_remove_i(ip, er);
78} 72}
79 73
@@ -151,22 +145,16 @@ static int system_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er)
151 145
152static int security_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er) 146static int security_eo_get(struct gfs2_inode *ip, struct gfs2_ea_request *er)
153{ 147{
154 struct inode *inode = &ip->i_inode;
155
156 return gfs2_ea_get_i(ip, er); 148 return gfs2_ea_get_i(ip, er);
157} 149}
158 150
159static int security_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er) 151static int security_eo_set(struct gfs2_inode *ip, struct gfs2_ea_request *er)
160{ 152{
161 struct inode *inode = &ip->i_inode;
162
163 return gfs2_ea_set_i(ip, er); 153 return gfs2_ea_set_i(ip, er);
164} 154}
165 155
166static int security_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er) 156static int security_eo_remove(struct gfs2_inode *ip, struct gfs2_ea_request *er)
167{ 157{
168 struct inode *inode = &ip->i_inode;
169
170 return gfs2_ea_remove_i(ip, er); 158 return gfs2_ea_remove_i(ip, er);
171} 159}
172 160