commit | f62457df5cc46ea0729fface07ffa885e85ef404 | [log] [tgz] |
---|---|---|
author | Matt Johnston <matt@codeconstruct.com.au> | Fri Feb 25 13:39:36 2022 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Feb 25 22:23:23 2022 -0800 |
tree | aa68cbcfc287d0dd527315cebd7903b8f59e130e | |
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>