]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 14:15:54 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2019 14:18:12 +0000 (16:18 +0200)
commitacc356a8f009c4dba318a65ef02b7c1e5110d774
tree72d0622327516aad7707ce615646d6438c638012
parenta033997f2cd0e51f14f7e6bf9fd3cbdb19ca4f6c
mailbox: 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.

Cc: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mailbox/bcm-flexrm-mailbox.c
drivers/mailbox/bcm-pdc-mailbox.c