aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/usb/usbip/usbip_test.sh
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 13:08:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 16:03:59 +0200
commitbc9832c4a1921a662870d51f81a699ec8c18545f (patch)
tree431caba6e0cb5ded42a41a85128a9fc65a41f620 /tools/testing/selftests/drivers/usb/usbip/usbip_test.sh
parentUSB: gadget: udc: s3c2410_udc: no need to check return value of debugfs_create functions (diff)
downloadlinux-dev-bc9832c4a1921a662870d51f81a699ec8c18545f.tar.xz
linux-dev-bc9832c4a1921a662870d51f81a699ec8c18545f.zip
USB: typec: fsusb302: no need to check return value of debugfs_create_dir()
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 fsusb302 driver to not care if the root directory was created, as the code should work properly either way. Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/drivers/usb/usbip/usbip_test.sh')
0 files changed, 0 insertions, 0 deletions