Merge tag 'wireless-drivers-for-davem-2015-11-20' of git://git.kernel.org/pub/scm...
[firefly-linux-kernel-4.4.55.git] / fs / nilfs2 / dat.c
index 0d5fada9119136e793b73cf9d008bae29e43fcf8..7dc23f100e579df17aec0499a7af609e9c0dc5af 100644 (file)
@@ -155,7 +155,6 @@ void nilfs_dat_commit_start(struct inode *dat, struct nilfs_palloc_req *req,
 int nilfs_dat_prepare_end(struct inode *dat, struct nilfs_palloc_req *req)
 {
        struct nilfs_dat_entry *entry;
-       __u64 start;
        sector_t blocknr;
        void *kaddr;
        int ret;
@@ -169,7 +168,6 @@ int nilfs_dat_prepare_end(struct inode *dat, struct nilfs_palloc_req *req)
        kaddr = kmap_atomic(req->pr_entry_bh->b_page);
        entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr,
                                             req->pr_entry_bh, kaddr);
-       start = le64_to_cpu(entry->de_start);
        blocknr = le64_to_cpu(entry->de_blocknr);
        kunmap_atomic(kaddr);