commit | 997152f62751b7d16f1b864121c912fd19032bdf | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Jan 25 16:25:54 2016 +0000 |
committer | Steve French <smfrench@gmail.com> | Wed Feb 10 18:04:53 2016 -0600 |
tree | 25709cdc1d7c816df484fc477c57eacb70d0187d | |
parent | 74c7b2af37ad431c3b69961a5cdbd0a92292c92a [diff] |
cifs: remove redundant check for null string pointer server_RFC1001_name is declared as a RFC1001_NAME_LEN_WITH_NULL sized char array in struct TCP_Server_Info so the null pointer check on server_RFC1001_name is redundant and can be removed. Detected with smatch: fs/cifs/connect.c:2982 ip_rfc1001_connect() warn: this array is probably non-NULL. 'server->server_RFC1001_name' Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Steve French <smfrench@gmail.com>