git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16910b9
)
[IPV6]: Cleanup snmp6_alloc_dev()
author
Pavel Emelyanov
<xemul@openvz.org>
Thu, 18 Oct 2007 04:25:32 +0000
(21:25 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Oct 2007 04:25:32 +0000
(21:25 -0700)
This functions is never called with NULL or not setup argument,
so the checks inside are redundant.
Also, the return value is always -ENOMEM, so no need in
additional variable for this.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found