aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
authorAndrew Price <anprice@redhat.com>2012-10-12 11:45:10 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2012-11-07 04:41:07 -0500
commit73738a77f42c2d7f53fd61f73272c9dd6f520897 (patch)
tree558663053e4ff4e0814b5d06a70508781b860f9b /fs/gfs2/file.c
parentcd0ed19fb614cb1315c0a510ec6c163d8324fd82 (diff)
GFS2: Clean up some unused assignments
Cleans up two cases where variables were assigned values but then never used again. Signed-off-by: Andrew Price <anprice@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/file.c')
-rw-r--r--fs/gfs2/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c
index 0def0504afc..377a68dbd06 100644
--- a/fs/gfs2/file.c
+++ b/fs/gfs2/file.c
@@ -677,10 +677,8 @@ static ssize_t gfs2_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
677 size_t writesize = iov_length(iov, nr_segs); 677 size_t writesize = iov_length(iov, nr_segs);
678 struct dentry *dentry = file->f_dentry; 678 struct dentry *dentry = file->f_dentry;
679 struct gfs2_inode *ip = GFS2_I(dentry->d_inode); 679 struct gfs2_inode *ip = GFS2_I(dentry->d_inode);
680 struct gfs2_sbd *sdp;
681 int ret; 680 int ret;
682 681
683 sdp = GFS2_SB(file->f_mapping->host);
684 ret = gfs2_rs_alloc(ip); 682 ret = gfs2_rs_alloc(ip);
685 if (ret) 683 if (ret)
686 return ret; 684 return ret;