Commit 9526b2b6d6b9f183b66cf21c4afa6e79d5a14f44
Committed by
Trond Myklebust
1 parent
1aba156763
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
pnfs-obj: Remove unused variable from objlayout_get_deviceinfo()
Local variable 'sb' was not being used in objlayout_get_deviceinfo(). Signed-off-by: Sachin Bhamare <sbhamare@panasas.com> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
fs/nfs/objlayout/objlayout.c
... | ... | @@ -604,7 +604,6 @@ |
604 | 604 | { |
605 | 605 | struct objlayout_deviceinfo *odi; |
606 | 606 | struct pnfs_device pd; |
607 | - struct super_block *sb; | |
608 | 607 | struct page *page, **pages; |
609 | 608 | u32 *p; |
610 | 609 | int err; |
... | ... | @@ -623,7 +622,6 @@ |
623 | 622 | pd.pglen = PAGE_SIZE; |
624 | 623 | pd.mincount = 0; |
625 | 624 | |
626 | - sb = pnfslay->plh_inode->i_sb; | |
627 | 625 | err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd); |
628 | 626 | dprintk("%s nfs_getdeviceinfo returned %d\n", __func__, err); |
629 | 627 | if (err) |