rocker: call correct unregister function on error
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 23 Jun 2015 07:52:10 +0000 (10:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 14:12:26 +0000 (07:12 -0700)
commita076e6bfe7fe92a3825b3d1448e6f988fd033722
treea4bf171bf88b3dae313a38e7bc70b341028fdb81
parent5b3f87dbc7faecbf4c97b4abbdf4cdc5bf070fd8
rocker: call correct unregister function on error

Use the correct unregister function matching the register
function on the error path.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Fixes: c1beeef7a32a791a ("rocker: implement IPv4 fib offloading")
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
This page took 0.036929 seconds and 5 git commands to generate.