summaryrefslogtreecommitdiffstats
path: root/net/irda
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-01-10 01:43:03 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-10 22:27:57 +0100
commitc3f6c21d6e60e39c81c27f18ebad9c7615eff545 (patch)
treedd727510c7263325fabafd6f75893d65b6af71df /net/irda
parentmac8390: Fix build breakage (diff)
downloadlinux-c3f6c21d6e60e39c81c27f18ebad9c7615eff545.tar.xz
linux-c3f6c21d6e60e39c81c27f18ebad9c7615eff545.zip
NET: ipv6, remove unnecessary check
Stanse found a potential null dereference in snmp6_unregister_dev. There is a check for idev being NULL, but it is dereferenced earlier. But idev cannot be NULL when passed to snmp6_unregister_dev, so remove the test. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: "David S. Miller" <davem@davemloft.net> Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: "Pekka Savola (ipv6)" <pekkas@netcore.fi> Cc: James Morris <jmorris@namei.org> Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Cc: Patrick McHardy <kaber@trash.net> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions