diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-04 19:21:08 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 16:53:51 (GMT) |
commit | 5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79 (patch) | |
tree | 476bb3b039e814e46f2675933a88470781fec5f2 | |
parent | 501c1ed3fb5c2648ba1709282c71617910917f66 (diff) | |
download | linux-fsl-qoriq-5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79.tar.xz |
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>
-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 697bdcd..bb5fc1b 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; |