]> git.baikalelectronics.ru Git - kernel.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)
commit06b8286d1be47ee8e4bf49fcd783d81de36950fb
tree8146becf4bd9fd984a12e5a9670567c3d64c1fc0
parent1c7b0054c13a96c2715a9810be613685b666896b
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