diff options
author | Andy Shevchenko <[email protected]> | 2022-06-10 13:33:24 +0300 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-07-13 08:38:20 -0700 |
commit | 452d5e2976941c24c4fe9e6d782bfbac3cabd54f (patch) | |
tree | 8cd53ef0cf3dd96b05792bae6f248dcee03963e8 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 0356d778aa1e14d80db40a9dae02192d6b47a5ac (diff) |
hwmon: (nct6775) Drop duplicate NULL check in ->init() and ->exit()
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]>
Reviewed-by: Zev Weiss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions