summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-29 17:30:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 12:54:21 +0200
commita941fc3957113df977e7396c2cf1679e87a65555 (patch)
tree1656317f92f1b8f53acd3a1651987dacf911a811 /drivers/usb/musb
parent822852f203f75f929cd90eb196c0f7ca17efe6b1 (diff)
downloadop-kernel-dev-a941fc3957113df977e7396c2cf1679e87a65555.zip
op-kernel-dev-a941fc3957113df977e7396c2cf1679e87a65555.tar.gz
USB: typec: tcpm: 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 tcpm.c code to not care about this, turns out no one was even checking the return value of this function, so it didn't matter. Note, I do not think this code can be removed in a running system, as the debugfs root directory will stick around, that should be fixed someday... Revieved-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud