summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-10 13:17:18 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-11 01:25:47 +0300
commit9f818c8a7388ad1a5c60ace50be6f658c058a5f2 (patch)
tree44be2b501f7d0b0f2324581e34e4ca29b37e6352 /drivers/net/ethernet/amd
parentfedcc6da10f33098d76b45adefa1b4e92a261748 (diff)
downloadlinux-9f818c8a7388ad1a5c60ace50be6f658c058a5f2.tar.xz
mlx5: 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 as we don't need to keep the dentries saved anymore. Cc: Saeed Mahameed <saeedm@mellanox.com> Cc: Leon Romanovsky <leon@kernel.org> 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/amd')
0 files changed, 0 insertions, 0 deletions