Tag: fe0bf1185ddf7e9d193cfe397ed1414d91526e19

NFS: Deletion of unnecessary checks before the function call “nfs_put_client”

Author: Markus Elfring <elfring@users.sourceforge.net> The nfs_put_client() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Trond Myklebust — fs/nfs/filelayout/filelayoutdev.c | 3 +– fs/nfs/nfs4client.c | 15 +++++———- 2 files changed, 6 insertions(+), …

Continue reading