USB: gadget: udc: renesas_usb3: no need to check return value of debugfs_create functions
Greg Kroah-Hartman
maintainerPATCH 21/22 USB: gadget: udc: renesas_usb3: no need to check return value of debugfs_create functions
Quoted 13 lines · Yoshihiro Shimoda
Quoted 6 lines
From: Greg Kroah-Hartman, Sent: Wednesday, May 30, 2018 12:31 AM
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.
Quoted 6 lines
Cc Felipe Balbi <[email protected]>Cc Yoshihiro Shimoda <[email protected]>Cc Simon Horman <[email protected]>Cc Geert Uytterhoeven <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Quoted 3 lines
I tested on r8a7795-salvator-xs. So,
Thanks for testing!
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html