diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2022-02-25 08:39:36 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2022-03-18 03:39:04 +0300 |
commit | d0a58715ecde5c8d492d0c38f0f983ad32c5ef24 (patch) | |
tree | 0f11263101b30441566645260ae6178a6e1bf31e /Documentation | |
parent | b80fd2a771ad35559434ca0d4bda65490e5740c6 (diff) | |
download | linux-d0a58715ecde5c8d492d0c38f0f983ad32c5ef24.tar.xz |
mctp: Avoid warning if unregister notifies twice
Previously if an unregister notify handler ran twice (waiting for
netdev to be released) it would print a warning in mctp_unregister()
every subsequent time the unregister notify occured.
Instead we only need to worry about the case where a mctp_ptr is
set on an unknown device type.
OpenBMC-Staging-Count: 1
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions