aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-10 12:17:25 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-10 15:25:48 -0700
commit92aff5b4678745660259035a5467bc8870003900 (patch)
tree9c99a242e748689980b5a646ee1339c55c7ed735 /drivers/net/ethernet/qualcomm
parentstmmac: no need to check return value of debugfs_create functions (diff)
downloadlinux-dev-92aff5b4678745660259035a5467bc8870003900.tar.xz
linux-dev-92aff5b4678745660259035a5467bc8870003900.zip
dpaa2: 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. Because we don't care about the individual files, we can remove the stored dentry for the files, as they are not needed to be kept track of at all. Cc: Ioana Radulescu <ruxandra.radulescu@nxp.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/qualcomm')
0 files changed, 0 insertions, 0 deletions