aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-08 15:03:56 +0300
committerJakub Kicinski <kuba@kernel.org>2022-06-10 08:36:08 -0700
commit3a544ebf9f99b612442064c792f34de5bad3cb31 (patch)
tree4ae3d618772451fca8688ccc3abd425e314c58ef /virt
parentptp_ocp: use bits.h macros for all masks (diff)
downloadlinux-dev-3a544ebf9f99b612442064c792f34de5bad3cb31.tar.xz
linux-dev-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 <andriy.shevchenko@linux.intel.com> Acked-by: Vadim Fedorenko <vfedorenko@novek.ru> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions