aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-06-08 12:03:56 +0000
committerJakub Kicinski <[email protected]>2022-06-10 15:36:08 +0000
commit3a544ebf9f99b612442064c792f34de5bad3cb31 (patch)
tree4ae3d618772451fca8688ccc3abd425e314c58ef /drivers/net/ethernet/intel/ice/ice_lib.c
parentptp_ocp: use bits.h macros for all masks (diff)
downloadkernel-3a544ebf9f99b612442064c792f34de5bad3cb31.tar.gz
kernel-3a544ebf9f99b612442064c792f34de5bad3cb31.zip
ptp_ocp: drop duplicate NULL check in ptp_ocp_detach()
Since platform_device_unregister() is NULL-aware, we don't need to duplicate this check. Remove it and fold the rest of the code. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Vadim Fedorenko <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions