diff options
author | Greg Kroah-Hartman <[email protected]> | 2018-05-31 13:08:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-05-31 16:03:59 +0200 |
commit | bc9832c4a1921a662870d51f81a699ec8c18545f (patch) | |
tree | 431caba6e0cb5ded42a41a85128a9fc65a41f620 /drivers/fpga/xilinx-spi.c | |
parent | e15bea0f3f75d4ee8f13b5ea76dcd210b24ef226 (diff) |
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 <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Adam Thomson <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions