projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPV4]: Safer reassembly
[powerpc.git]
/
include
/
net
/
netrom.h
diff --git
a/include/net/netrom.h
b/include/net/netrom.h
index
a6bf6e0
..
a5ee53b
100644
(file)
--- a/
include/net/netrom.h
+++ b/
include/net/netrom.h
@@
-136,8
+136,7
@@
static __inline__ void nr_node_put(struct nr_node *nr_node)
static __inline__ void nr_neigh_put(struct nr_neigh *nr_neigh)
{
if (atomic_dec_and_test(&nr_neigh->refcount)) {
- if (nr_neigh->digipeat != NULL)
- kfree(nr_neigh->digipeat);
+ kfree(nr_neigh->digipeat);
kfree(nr_neigh);
}
}