Thread (3 messages) 3 messages, 3 authors, 2006-03-15

Re: [2.6 patch] net/decnet/dn_route.c: fix inconsequent NULL checking

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2006-03-11 02:51:39
Also in: lkml

Adrian Bunk [off-list ref] wrote:
The Coverity checker noted this inconsequent NULL checking in
dnrt_drop().

Since all callers ensure that NULL isn't passed, we can simply remove 
the check.
Ack.

In fact it's pointless even if the caller didn't check as dst_release
checks it anyway.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help