diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2022-02-25 08:39:36 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-26 09:23:23 +0300 |
commit | f62457df5cc46ea0729fface07ffa885e85ef404 (patch) | |
tree | aa68cbcfc287d0dd527315cebd7903b8f59e130e /net/mctp/Kconfig | |
parent | 23d743301198f7903d732d5abb4f2b44f22f5df0 (diff) | |
download | linux-f62457df5cc46ea0729fface07ffa885e85ef404.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.
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mctp/Kconfig')
0 files changed, 0 insertions, 0 deletions