]> 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)
commitb0d810f4517b224e63f69f6adbfc91f5a94b2954
tree2c074253f31dc4095b192b2c311f0039c70083d7
parentbf0e7761c94e513f6521b7beaa153479fa92c27c
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