]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tokenring/3c359.c: fix allocation null check
authorJirka Pirko <jirka@pirko.cz>
Mon, 24 Nov 2008 22:47:53 +0000 (14:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 22:47:53 +0000 (14:47 -0800)
commitd0cc10ab0e3740b629d88386c907342f77cbdb30
tree094757b72e6cffda659fc8d18b72755a5deccf21
parent85920d43bd5ae8a96f434704438b57c0b8c31198
tokenring/3c359.c: fix allocation null check

Fixed typo when allocating rx_ring, tx_ring was checked for null instead.

Signed-off-by: Jirka Pirko <jirka@pirko.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/3c359.c