diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-04 20:21:08 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 17:53:51 +0100 |
commit | 5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79 (patch) | |
tree | 476bb3b039e814e46f2675933a88470781fec5f2 /fs/lockd/mon.c | |
parent | NLM: Remove redundant printk() in nlmclnt_lock() (diff) | |
download | linux-5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79.tar.xz linux-5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79.zip |
NSM: Remove BUG_ON() in nsm_monitor()
Clean up: Remove the BUG_ON() invocation in nsm_monitor(). It's not
likely that nsm_monitor() is ever called with a NULL host pointer, and
the code will die anyway if host is NULL.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd/mon.c')
-rw-r--r-- | fs/lockd/mon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 697bdcdd20cc..bb5fc1bb37f7 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c @@ -80,7 +80,6 @@ nsm_monitor(struct nlm_host *host) int status; dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); - BUG_ON(nsm == NULL); if (nsm->sm_monitored) return 0; |