Skip to content
Commit e8e7be7d authored by Wolfram Sang's avatar Wolfram Sang Committed by Paolo Abeni
Browse files

mctp i2c: drop check because i2c_unregister_device() is NULL safe



No need to check the argument of i2c_unregister_device() because the
function itself does it.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://patch.msgid.link/20241202082713.9719-1-wsa+renesas@sang-engineering.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent b32913a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment