IB/cm: Destroy idr as part of the module init error flow
Clean the idr as part of the error flow since it is a resource too. Signed-off-by: NDotan Barak <dotanb@dev.mellanox.co.il> Reviewed-by: NSean Hefty <sean.hefty@intel.com> Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com> Signed-off-by: NRoland Dreier <roland@purestorage.com>
Showing
想要评论请 注册 或 登录