mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
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>
This commit is contained in:
parent
1aba156763
commit
9526b2b6d6
1 changed files with 0 additions and 2 deletions
|
@ -604,7 +604,6 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay,
|
||||||
{
|
{
|
||||||
struct objlayout_deviceinfo *odi;
|
struct objlayout_deviceinfo *odi;
|
||||||
struct pnfs_device pd;
|
struct pnfs_device pd;
|
||||||
struct super_block *sb;
|
|
||||||
struct page *page, **pages;
|
struct page *page, **pages;
|
||||||
u32 *p;
|
u32 *p;
|
||||||
int err;
|
int err;
|
||||||
|
@ -623,7 +622,6 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay,
|
||||||
pd.pglen = PAGE_SIZE;
|
pd.pglen = PAGE_SIZE;
|
||||||
pd.mincount = 0;
|
pd.mincount = 0;
|
||||||
|
|
||||||
sb = pnfslay->plh_inode->i_sb;
|
|
||||||
err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd);
|
err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd);
|
||||||
dprintk("%s nfs_getdeviceinfo returned %d\n", __func__, err);
|
dprintk("%s nfs_getdeviceinfo returned %d\n", __func__, err);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue