pps: clients: gpio: Remove redundant condition in ->remove()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Mar 2021 13:03:17 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Mar 2021 07:26:31 +0000 (08:26 +0100)
commitfde046a8c490e296aacbb628748664fa54b6bdde
treef094a1c8ac20ca9c075014765c339974fd6bd907
parent1a8fc4f7e21ce786f8ebdf26d631e6f359ff9dfd
pps: clients: gpio: Remove redundant condition in ->remove()

The timer along with GPIO API are NULL-aware, there is no need to test
against existing GPIO echo line.

Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210318130321.24227-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pps/clients/pps-gpio.c