git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[INET]: Let inet_diag and friends autoload
[pandora-kernel.git]
/
net
/
ax25
/
ax25_iface.c
diff --git
a/net/ax25/ax25_iface.c
b/net/ax25/ax25_iface.c
index
16be0c1
..
8443af5
100644
(file)
--- a/
net/ax25/ax25_iface.c
+++ b/
net/ax25/ax25_iface.c
@@
-69,7
+69,6
@@
void ax25_protocol_release(unsigned int pid)
if (protocol->pid == pid) {
protocol_list = protocol->next;
write_unlock_bh(&protocol_list_lock);
- kfree(protocol);
return;
}
@@
-78,7
+77,6
@@
void ax25_protocol_release(unsigned int pid)
s = protocol->next;
protocol->next = protocol->next->next;
write_unlock_bh(&protocol_list_lock);
- kfree(s);
return;
}