USB: chipidea: no need to check return value of debugfs_create functions
Greg Kroah-Hartman
maintainerPATCH 13/22 USB: chipidea: no need to check return value of debugfs_create functions
Quoted 6 lines · Peter Chen
Quoted 6 lines
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
Quoted 2 lines
Cc Peter Chen <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Tested on imx6sx-sdb board.
Acked-by Peter Chen <[email protected]>
Thanks for testing!
---
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