diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-29 18:31:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-31 13:54:22 +0300 |
commit | a143dca4f3340dfc6febd7a4022c6ffb2bf2dad4 (patch) | |
tree | 5e29d548e7a9ca115603151ff087ed8fef6fddfc /net/ceph | |
parent | 535c8dc5c48034c7ef4521d94603fe4d9b8dd859 (diff) | |
download | linux-a143dca4f3340dfc6febd7a4022c6ffb2bf2dad4.tar.xz |
USB: udc: atmel_usba_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: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Felipe Balbi <balbi@kernel.org>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions