fs/ceph: remove unused variable
PATCH 1/1 fs/ceph: remove unused variable
If we don't care err here, maybe better to remove it.
Signed-off-by Alex Shi <[email protected]>
Cc Jeff Layton <[email protected]>
Cc Sage Weil <[email protected]>
Cc Ilya Dryomov <[email protected]>
--- fs/ceph/export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
fs/ceph/export.c +1 -2
@@ -291,7 +291,6 @@ static struct dentry *__get_parent(struct super_block *sb,struct ceph_mds_request *req;struct inode *inode;int mask; -int err; req =ceph_mdsc_create_request (mdsc,CEPH_MDS_OP_LOOKUPPARENT ,USE_ANY_MDS );
@@ -314,7 +313,7 @@ static struct dentry *__get_parent(struct super_block *sb, req->r_args.getattr.mask =cpu_to_le32 (mask); req->r_num_caps =1 ; - err =ceph_mdsc_do_request (mdsc,NULL , req); +ceph_mdsc_do_request (mdsc,NULL , req); inode = req->r_target_inode;if (inode)ihold (inode);
Signature · 1 line
1.8.3.1