diff options
Diffstat (limited to 'fs/lockd/mon.c')
-rw-r--r-- | fs/lockd/mon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 38255455563d..0a066a13478e 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -224,9 +224,6 @@ struct nsm_handle *nsm_find(const struct sockaddr *sap, const size_t salen, | |||
224 | struct nsm_handle *nsm = NULL; | 224 | struct nsm_handle *nsm = NULL; |
225 | struct nsm_handle *pos; | 225 | struct nsm_handle *pos; |
226 | 226 | ||
227 | if (!sap) | ||
228 | return NULL; | ||
229 | |||
230 | if (hostname && memchr(hostname, '/', hostname_len) != NULL) { | 227 | if (hostname && memchr(hostname, '/', hostname_len) != NULL) { |
231 | if (printk_ratelimit()) { | 228 | if (printk_ratelimit()) { |
232 | printk(KERN_WARNING "Invalid hostname \"%.*s\" " | 229 | printk(KERN_WARNING "Invalid hostname \"%.*s\" " |