]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: don't care about debugfs errors
authorgregkh@linuxfoundation.org <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 14:47:04 +0000 (15:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 15:00:56 +0000 (16:00 +0100)
commit4286d568f6c850fd201a5d61b4baeba086a0747d
treeb9a800bcee170febd2f4749dc20bf35d13aaf211
parente1d7718bac51f8443a801f8fde33150bfe21e7b1
staging: unisys: don't care about debugfs errors

A caller should never care about a debugfs error return value, and it
should never abort its normal operation if something "odd" goes on.  Fix
up the unisys init code to not care if the root debugfs directory for
the subsystem is created or not, as no place it is used will matter.

Cc: David Kershner <david.kershner@unisys.com>
Cc: Tim Sell <Timothy.Sell@unisys.com>
Cc: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Cc: David Binder <david.binder@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c