aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-03-15 20:51:41 +0200
committerBartosz Golaszewski <[email protected]>2021-03-26 14:56:19 +0100
commite5391a02bce2422fa57a520dfaaf2693ec7f9546 (patch)
tree03f6a590fbbc4fa9a0b6ef013fa91e57c0bc0cf5 /lib/mpi/mpi-sub-ui.c
parent266315fb7cbed86f628f3fb4bb89a90943b66718 (diff)
gpio: mockup: Drop duplicate NULL check in gpio_mockup_unregister_pdevs()
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]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions