summaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorMarkus Elfring2014-11-18 13:23:43 +0100
committerTrond Myklebust2014-11-25 02:07:27 +0100
commitfe0bf1185ddf7e9d193cfe397ed1414d91526e19 (patch)
treef8b2c40b78cfa1714e606e79ffc36363ece0dc8f /fs/nfs/read.c
parentsunrpc: eliminate RPC_TRACEPOINTS (diff)
downloadkernel-qcow2-linux-fe0bf1185ddf7e9d193cfe397ed1414d91526e19.tar.gz
kernel-qcow2-linux-fe0bf1185ddf7e9d193cfe397ed1414d91526e19.tar.xz
kernel-qcow2-linux-fe0bf1185ddf7e9d193cfe397ed1414d91526e19.zip
NFS: Deletion of unnecessary checks before the function call "nfs_put_client"
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 <elfring@users.sourceforge.net> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/read.c')
0 files changed, 0 insertions, 0 deletions