]> asedeno.scripts.mit.edu Git - linux.git/commit
caif: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Aug 2019 10:42:43 +0000 (12:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2019 04:31:25 +0000 (21:31 -0700)
commit53f6f391786e01bf2050c03d8a36d9defdcc2831
tree8146becf4bd9fd984a12e5a9670567c3d64c1fc0
parent6f20a697e487dea9e054daa18651fef04d97fe3d
caif: 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: Richard Fontana <rfontana@redhat.com>
Cc: Steve Winslow <swinslow@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_serial.c
drivers/net/caif/caif_virtio.c