diff options
| author | Christoph Hellwig <hch@lst.de> | 2003-05-03 21:03:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-03 21:03:06 -0700 |
| commit | 8f998915ca6df1d6f52b42bb094f0a7f1900abb9 (patch) | |
| tree | 1544864c2032d831719120e7a083824cac361bde /include/linux/timer.h | |
| parent | f09d418de5b76fba0aa7d5dec2cdd85c218fea84 (diff) | |
[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT from sunrpc
- both rpciod_up and rpciod_down do a gratious inc/dec of the
use count - but we can't ever be inside those function unless
it's called from an other module -> totally useless
- rpciod() (the kernel thread) also bumps the refcount when starting
and decrements it when exiting. but as a different module must
initiate this using rpciod_up/rpciod_down this is again not needed.
(except when a module does rpciod_up without a matching rpciod_down -
but that a big bug anyway and we don't need to partially handle that
using module refcounts).
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions
