enic: Check if rq/wq buf not NULL before freeing them
commit832177901a61aeda1f2122e323c39881ec84af65
authorRoopa Prabhu <roprabhu@cisco.com>
Tue, 10 Aug 2010 18:55:20 +0000 (10 18:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 09:32:58 +0000 (17 02:32 -0700)
tree4df41abbabfefc6fcd9eb32c389f36a12a8fd4f2
parentce16cc02f9fe21d4e42116305e5ea9d12e51635d
enic: Check if rq/wq buf not NULL before freeing them

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/vnic_rq.c
drivers/net/enic/vnic_wq.c