
From: NeilBrown <neilb@cse.unsw.edu.au>

We would have oopsed some time ago if either of these parameters were NULL.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/fs/nfsd/nfs4state.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN fs/nfsd/nfs4state.c~nfsd4-remove-unnecessary-check-in-find_delegation_stateid fs/nfsd/nfs4state.c
--- 25/fs/nfsd/nfs4state.c~nfsd4-remove-unnecessary-check-in-find_delegation_stateid	2005-03-07 23:55:32.000000000 -0800
+++ 25-akpm/fs/nfsd/nfs4state.c	2005-03-07 23:55:32.000000000 -0800
@@ -2450,8 +2450,6 @@ find_delegation_stateid(struct inode *in
                     stid->si_boot, stid->si_stateownerid,
                     stid->si_fileid, stid->si_generation);
 
-	if(!ino || !stid)
-		return NULL;
 	st_id = stid->si_stateownerid;
 	fi_hashval = file_hashval(ino);
 	if (find_file(fi_hashval, ino, &fp)) {
_
