summaryrefslogtreecommitdiff
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2016-09-14 18:13:17 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-16 09:22:57 +0300
commit8a8a9e89f801ce5d3d1d57ac48db678caf072147 (patch)
tree33043ea75cbd84f7b5fa393242b3d64b23eb4bf1 /drivers/net/vmxnet3
parentbf253fb72221cdd9dc31009056f269a420f7bbd9 (diff)
downloadlinux-8a8a9e89f801ce5d3d1d57ac48db678caf072147.tar.xz
net: ethernet: mediatek: cleanup error path inside mtk_hw_init
This cleans up the error path inside mtk_hw_init call, causing it able to exit appropriately when something fails and also includes refactoring mtk_cleanup call to make the partial logic reusable on the error path. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3')
0 files changed, 0 insertions, 0 deletions