diff options
| author | Jiri Slaby <[email protected]> | 2010-01-10 00:43:03 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-01-10 13:27:57 -0800 |
| commit | c3f6c21d6e60e39c81c27f18ebad9c7615eff545 (patch) | |
| tree | dd727510c7263325fabafd6f75893d65b6af71df /include/linux/debugobjects.h | |
| parent | 51f5300682f5925a11edfddfd47ed47376871974 (diff) | |
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 <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Alexey Kuznetsov <[email protected]>
Cc: "Pekka Savola (ipv6)" <[email protected]>
Cc: James Morris <[email protected]>
Cc: Hideaki YOSHIFUJI <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions