diff options
-rw-r--r-- | fs/lockd/mon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 0a066a13478e..0792900b6281 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -288,8 +288,6 @@ found: | |||
288 | */ | 288 | */ |
289 | void nsm_release(struct nsm_handle *nsm) | 289 | void nsm_release(struct nsm_handle *nsm) |
290 | { | 290 | { |
291 | if (!nsm) | ||
292 | return; | ||
293 | if (atomic_dec_and_lock(&nsm->sm_count, &nsm_lock)) { | 291 | if (atomic_dec_and_lock(&nsm->sm_count, &nsm_lock)) { |
294 | list_del(&nsm->sm_link); | 292 | list_del(&nsm->sm_link); |
295 | spin_unlock(&nsm_lock); | 293 | spin_unlock(&nsm_lock); |