From d27de1e42eea6d1ef65a3ec3742b50937efef832 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Tue, 14 Aug 2007 17:24:05 -0700 Subject: [PATCH] --- yaml --- r: 64068 b: refs/heads/master c: 9ac0be9d4fa0c0ec7a447eeaa080bc13cf865319 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ax25/ax25_iface.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 421cda23a8ab..502402d63ddf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 02f44315dc4bce8a222564aa023c965efbeb73b5 +refs/heads/master: 9ac0be9d4fa0c0ec7a447eeaa080bc13cf865319 diff --git a/trunk/net/ax25/ax25_iface.c b/trunk/net/ax25/ax25_iface.c index 16be0c14780a..8443af57a374 100644 --- a/trunk/net/ax25/ax25_iface.c +++ b/trunk/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; }