qlcnic: cleanup skb allocation
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Tue, 22 Jun 2010 03:18:58 +0000 (03:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2010 20:16:28 +0000 (13:16 -0700)
commit9665982885f0e11ea9e3c5d9bfc7ead48d08c83f
tree2b58902a183a9733cfd8862277540734c68b5234
parent406818ff347cbbdae2fb21fafd1939d00cf479c5
qlcnic: cleanup skb allocation

No need to maintian separate state for alloced and freed skb.
This can be done by null check.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_ethtool.c
drivers/net/qlcnic/qlcnic_init.c