ceph: remove unused variable
authorYehuda Sadeh <[email protected]>
Wed, 3 Feb 2010 18:47:48 +0000 (10:47 -0800)
committerSage Weil <[email protected]>
Thu, 11 Feb 2010 19:48:48 +0000 (11:48 -0800)
Signed-off-by: Yehuda Sadeh <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
fs/ceph/addr.c

index 8065dc92c61144d48c94a1ff05ead3591b0d8012..92f482150742d88dd416c259421ec82ad1e25a14 100644 (file)
@@ -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;