aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-hid-sensor-time.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-29 16:29:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-01 10:47:43 +0200
commit4d883eeac4e3c2b89a32d64b1b1a25e8c60f5537 (patch)
tree9de65a9022fc74a3bb580e2a372674cc22e5d9cb /drivers/rtc/rtc-hid-sensor-time.c
parente206a0d47efa04b90eb5de5b9adee3c81bda9b03 (diff)
staging: unisys: visornic: no need to check debugfs return values
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Clean up the visornic driver code by not caring about the value of debugfs calls. This ends up removing a number of lines of code that are not needed. Cc: David Kershner <david.kershner@unisys.com> Cc: Tim Sell <timothy.sell@unisys.com> Cc: David Binder <david.binder@unisys.com> Cc: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Cc: Charles Daniels <cdaniels@fastmail.com> Cc: sparmaintainer@unisys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-hid-sensor-time.c')
0 files changed, 0 insertions, 0 deletions