aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-10 12:17:19 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-10 15:25:47 -0700
commit9e3926df8779a69f8541c9983c6d19b097671abd (patch)
tree97a9741d759292a4041b753495cf3a9a859adec4 /drivers/net/ethernet/broadcom
parentmlx5: no need to check return value of debugfs_create functions (diff)
downloadlinux-dev-9e3926df8779a69f8541c9983c6d19b097671abd.tar.xz
linux-dev-9e3926df8779a69f8541c9983c6d19b097671abd.zip
xgbe: 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. This cleans up a lot of unneeded code and logic around the debugfs files, making all of this much simpler and easier to understand. Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
0 files changed, 0 insertions, 0 deletions