rocker: NULL port if port probe fails
authorScott Feldman <sfeldma@gmail.com>
Tue, 4 Aug 2015 05:31:17 +0000 (22:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 04:47:57 +0000 (21:47 -0700)
commit6c4f7780a5dd6773a653c87bf7ee61c6aea6a4e7
tree626ac79b04c0d5a161cb6f503ea8ca3fab039984
parent9dc20a649609c95ce7c5ac4282656ba627b67d49
rocker: NULL port if port probe fails

Set port to NULL if port probe fails so we don't try to remove partially
initialized port on port probe err cleanup path.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c