Skip to content
Commit 87d4abda authored by Dotan Barak's avatar Dotan Barak Committed by Roland Dreier
Browse files

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: default avatarDotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: default avatarSean Hefty <sean.hefty@intel.com>
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent f457ce47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment