diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2016-09-14 23:13:17 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-09-16 02:22:57 -0400 |
| commit | 8a8a9e89f801ce5d3d1d57ac48db678caf072147 (patch) | |
| tree | 33043ea75cbd84f7b5fa393242b3d64b23eb4bf1 /lib/mpi/mpi-inline.h | |
| parent | bf253fb72221cdd9dc31009056f269a420f7bbd9 (diff) | |
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 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
