Save a pointless FILE_LOCK_ASSERT() call in fhold.

This commit is contained in:
Poul-Henning Kamp 2004-11-08 19:51:48 +00:00
parent a5e239ce13
commit 29b96dcc49

View File

@ -210,7 +210,7 @@ void fputsock(struct socket *sp);
#define fhold(fp) \ #define fhold(fp) \
do { \ do { \
FILE_LOCK(fp); \ FILE_LOCK(fp); \
fhold_locked(fp); \ (fp)->f_count++; \
FILE_UNLOCK(fp); \ FILE_UNLOCK(fp); \
} while (0) } while (0)