Skip to content

Commit b529d1b

Browse files
elfringidryomov
authored andcommitted
ceph: delete an unnecessary return statement in update_dentry_lease()
The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Yan, Zheng <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 5130880 commit b529d1b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/ceph/inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,6 @@ static void update_dentry_lease(struct dentry *dentry,
10671067
spin_unlock(&dentry->d_lock);
10681068
if (old_lease_session)
10691069
ceph_put_mds_session(old_lease_session);
1070-
return;
10711070
}
10721071

10731072
/*

0 commit comments

Comments
 (0)