diff options
author | Alaa Hleihel <[email protected]> | 2018-02-13 12:18:27 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-02-15 14:59:43 -0700 |
commit | 14fa91e0fef8e4d6feb8b1fa2a807828e0abe815 (patch) | |
tree | b59483f651a1e2e93912103aa50226e017bedd2e /scripts/gdb/linux/lists.py | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) |
IB/ipoib: Do not warn if IPoIB debugfs doesn't exist
netdev_wait_allrefs() could rebroadcast NETDEV_UNREGISTER event
multiple times until all refs are gone, which will result in calling
ipoib_delete_debug_files multiple times and printing a warning.
Remove the WARN_ONCE since checks of NULL pointers before calling
debugfs_remove are not needed.
Fixes: 771a52584096 ("IB/IPoIB: ibX: failed to create mcg debug file")
Signed-off-by: Alaa Hleihel <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions