xen-netback: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Aug 2019 10:31:08 +0000 (12:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2019 04:30:06 +0000 (21:30 -0700)
commit6f20a697e487dea9e054daa18651fef04d97fe3d
treef241bdf8f3611b141ee7ae46dce0ed2f1f2d720c
parenta858390177bcd9af8ccf923bc2f417641670c145
xen-netback: 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: Wei Liu <wei.liu@kernel.org>
Cc: Paul Durrant <paul.durrant@citrix.com>
Cc: xen-devel@lists.xenproject.org
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c
drivers/net/xen-netback/xenbus.c