summaryrefslogtreecommitdiff
path: root/net/mctp/test
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2022-02-25 08:39:36 +0300
committerJakub Kicinski <kuba@kernel.org>2022-02-26 09:23:23 +0300
commitf62457df5cc46ea0729fface07ffa885e85ef404 (patch)
treeaa68cbcfc287d0dd527315cebd7903b8f59e130e /net/mctp/test
parent23d743301198f7903d732d5abb4f2b44f22f5df0 (diff)
downloadlinux-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/test')
0 files changed, 0 insertions, 0 deletions