Commit d507d29
RDMA/bnxt_re: Don't fail destroy QP and cleanup debugfs earlier
Change bnxt_re_destroy_qp to always return 0 and don't fail
in case of error during destroy.
In addition, delete debugfs QP to earlier stage.
Fixes: d7d5476 ("RDMA/bnxt_re: Add debugfs hook in the driver")
Reviewed-by: Kashyap Desai <[email protected]>
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>1 parent 064c224 commit d507d29
1 file changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
| 970 | + | |
| 971 | + | |
970 | 972 | | |
971 | 973 | | |
972 | 974 | | |
973 | | - | |
| 975 | + | |
974 | 976 | | |
975 | | - | |
976 | | - | |
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
| 986 | + | |
| 987 | + | |
991 | 988 | | |
992 | 989 | | |
993 | 990 | | |
| |||
998 | 995 | | |
999 | 996 | | |
1000 | 997 | | |
1001 | | - | |
1002 | | - | |
1003 | 998 | | |
1004 | 999 | | |
1005 | 1000 | | |
| |||
0 commit comments