Searched hist:"2 ee12724" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/host/ |
H A D | fhci-dbg.c | 2ee12724 Tue May 29 10:30:56 CDT 2018 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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> 2ee12724 Tue May 29 10:30:56 CDT 2018 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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>
|
H A D | fhci.h | 2ee12724 Tue May 29 10:30:56 CDT 2018 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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> 2ee12724 Tue May 29 10:30:56 CDT 2018 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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>
|