Staging: netlogic: fix missing free_netdev() on error in xlr_net_probe()
authorWei Yongjun <weiyj.lk@gmail.com>
Wed, 19 Jun 2013 02:29:59 +0000 (10:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2013 16:41:37 +0000 (09:41 -0700)
commitc639b9fbe3e33656c66a62cb52a446181fd1babf
treedf9cc7441ef6a4584485ca52862ecd0c8814739c
parentd0941b1e07c129da4afc725c2c982b97e99e040f
Staging: netlogic: fix missing free_netdev() on error in xlr_net_probe()

Fix missing free_netdev() before return from function xlr_net_probe()
in the devm_ioremap_resource() error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/xlr_net.c