]> git.baikalelectronics.ru Git - kernel.git/commit
Fix warning on impossible comparison
authorSteve French <smfrench@gmail.com>
Fri, 27 Mar 2015 06:15:02 +0000 (01:15 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 1 Apr 2015 05:01:47 +0000 (00:01 -0500)
commit8fa6a4a438abc071652f2047b5baa8fdaa50c886
tree2c074253f31dc4095b192b2c311f0039c70083d7
parent41e7ad7e5e267ef1513bd168f5f4f85b9a8bfecc
Fix warning on impossible comparison

workstation_RFC1001_name is part of the struct and can't be null,
remove impossible comparison (array vs. null)

Pointed out by Coverity (CID 140095)

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Jeff Layton <jlayton@samba.org>
fs/cifs/connect.c