diff options
author | Colin Ian King | 2018-01-17 10:52:39 +0100 |
---|---|---|
committer | Steve French | 2018-01-25 02:49:07 +0100 |
commit | 37e12f55515218c69284600e32dcb4fcacc45f8b (patch) | |
tree | f4d3b5408d3531269f3085d091c3834a11a0813e /fs/cifs/inode.c | |
parent | CIFS: SMBD: work around gcc -Wmaybe-uninitialized warning (diff) | |
download | kernel-qcow2-linux-37e12f55515218c69284600e32dcb4fcacc45f8b.tar.gz kernel-qcow2-linux-37e12f55515218c69284600e32dcb4fcacc45f8b.tar.xz kernel-qcow2-linux-37e12f55515218c69284600e32dcb4fcacc45f8b.zip |
cifs: remove redundant duplicated assignment of pointer 'node'
Node is assigned twice to rb_first(root), first during declaration
time and second after a taking a spin lock, so we have a duplicated
assignment. Remove the first assignment because it is redundant and
also not protected by the spin lock.
Cleans up clang warning:
fs/cifs/connect.c:4435:18: warning: Value stored to 'node' during
its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/inode.c')
0 files changed, 0 insertions, 0 deletions