[AX.25]: Fix unchecked ax25_protocol_register uses.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 14 Dec 2006 23:50:01 +0000 (15:50 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:08 +0000 (21:59 -0800)
Replace ax25_protocol_register by ax25_register_pid which assumes the
caller has done the memory allocation.  This allows replacing the
kmalloc allocations entirely by static allocations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found