summaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2010-02-03 10:47:48 -0800
committerSage Weil <sage@newdream.net>2010-02-11 11:48:48 -0800
commitb056c8769d1da6a6a80ce780a4b8957b70434a41 (patch)
tree2fa8eca7f2e2419ebbf68303fd280a0b2e1b99d8 /fs/ceph/addr.c
parentec0994e48ea2aebf62ff08376227f3a9ccf46262 (diff)
ceph: remove unused variable
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/addr.c')
-rw-r--r--fs/ceph/addr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index 8065dc92c61..92f48215074 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -505,7 +505,6 @@ static void writepages_finish(struct ceph_osd_request *req,
struct ceph_osd_op *op;
struct ceph_inode_info *ci = ceph_inode(inode);
unsigned wrote;
- loff_t offset = req->r_pages[0]->index << PAGE_CACHE_SHIFT;
struct page *page;
int i;
struct ceph_snap_context *snapc = req->r_snapc;