diff options
| author | KAMBAROV, ZAUR <[email protected]> | 2005-07-07 17:57:07 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-07-07 18:23:47 -0700 |
| commit | 7e8d7e3c9e38dab8d28a8667faa4941842f64213 (patch) | |
| tree | f2584d8f7ebd4afd8c40f14dbb1558762bade2a5 /scripts/basic/split-include.c | |
| parent | 7eaae2828dadae3abde7f77734c874d4b74b313a (diff) | |
[PATCH] coverity: sunrpc/xprt task null check
In __xprt_lock_write() we check to see if `task' is NULL, but in other places
we just go and dereference it.
`task' shouldn't be NULL anyway, so remove this test.
This defect was found automatically by Coverity Prevent, a static analysis
tool.
Signed-off-by: Zaur Kambarov <[email protected]>
Acked-by: Trond Myklebust <[email protected]>
Cc: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions