summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-dbg.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-29 17:30:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 12:54:22 +0200
commit2ee127242a52267456610158f13126e64e1bdecd (patch)
tree710d3bdf79b875211c2b7e6570e83fb68bead635 /drivers/usb/host/ehci-dbg.c
parentUSB: fotg210-hcd: no need to check return value of debugfs_create functions (diff)
downloadlinux-2ee127242a52267456610158f13126e64e1bdecd.tar.xz
linux-2ee127242a52267456610158f13126e64e1bdecd.zip
USB: fhci-hcd: no need to check return value of debugfs_create functions
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. There is also no need to keep the file dentries around at all, so remove those variables from the host controller structure. Cc: Felipe Balbi <felipe.balbi@linux.intel.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-dbg.c')
0 files changed, 0 insertions, 0 deletions