summaryrefslogtreecommitdiffstats
path: root/drivers/net/tap.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-29 17:31:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 12:54:22 +0200
commit37ea71074d13e06bbceeef6d465df81c86c99860 (patch)
tree820dcc68041a315e926b0ca8ac5c18c8dba7c8e3 /drivers/net/tap.c
parentda281a8e972fa97cf74344a98eb415116744b569 (diff)
downloadlinux-37ea71074d13e06bbceeef6d465df81c86c99860.tar.gz
linux-37ea71074d13e06bbceeef6d465df81c86c99860.tar.bz2
linux-37ea71074d13e06bbceeef6d465df81c86c99860.zip
USB: gadget: udc: gr_udc: 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. There is also no need to keep the file dentries around at all, so remove those variables from the device structure. Cc: Felipe Balbi <balbi@kernel.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Jaejoong Kim <climbbb.kim@gmail.com> Cc: Li Yang <leoyang.li@nxp.com> Cc: Johan Hovold <johan@kernel.org> Cc: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/tap.c')
0 files changed, 0 insertions, 0 deletions