net/bnxt: uninit locks during resource cleanup
authorVenkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Thu, 24 Oct 2019 07:44:32 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:23 +0000 (19:23 +0200)
commit5f5ccaa05c9a4423fb2c7803023ed13468034549
tree47a769f730c8d7075bcbe4ddef8ea9137b489890
parentf5019a53d7fc82474710c98bb48b4a09ee07c9f7
net/bnxt: uninit locks during resource cleanup

Currently, bnxt_uninit_locks is called inside bnxt_dev_uninit. However,
the more appropriate place to call it is inside bnxt_uninit_resources.
This is more logical, as all the resources uninitialization is happening
inside bnxt_uninit_resources.

Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c