drivers: net: xgene: fix: Delete descriptor rings and buffer pools
authorIyappan Subramanian <isubramanian@apm.com>
Sat, 13 Aug 2016 05:05:39 +0000 (22:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:48:52 +0000 (11:48 -0700)
commit15e32296e44738e6c8dff56c46fd18e9b4c9b6f6
treec4fa65d5f307261e86ad2ec363f8ea0544cf4ca1
parent6e434627bce2a4ccf6d7eea50c08b4fdbb70dd3e
drivers: net: xgene: fix: Delete descriptor rings and buffer pools

xgene_enet_init_hw() should delete any descriptor rings and
buffer pools setup should le_ops->cle_init() return an error.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c