qlge: add missing free_netdev() on error in qlge_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 22 May 2013 23:09:50 +0000 (23:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2013 04:22:32 +0000 (21:22 -0700)
commit4d2593cc65fa15f2a36313aa8d03a0937226ad49
tree11c3f556138f546afbe5b2b0a06f903a552913cd
parent0e255f1c0c9add2f0c920240ac4cadc28ae274c3
qlge: add missing free_netdev() on error in qlge_probe()

Add the missing free_netdev() before return from function
qlge_probe() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c