diff options
| author | Matt Johnston <matt@codeconstruct.com.au> | 2022-02-25 13:39:36 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-25 22:23:23 -0800 |
| commit | f62457df5cc46ea0729fface07ffa885e85ef404 (patch) | |
| tree | aa68cbcfc287d0dd527315cebd7903b8f59e130e /lib/string_helpers.c | |
| parent | 23d743301198f7903d732d5abb4f2b44f22f5df0 (diff) | |
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
