summaryrefslogtreecommitdiff
path: root/net/netfilter/nfnetlink_osf.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-06-09 12:56:45 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-09 14:16:39 -0700
commit4e744cb8126deac52257219fad754614a61989da (patch)
tree7888c85b0b00954c99fa30b5d0be8b33a91a9d1e /net/netfilter/nfnetlink_osf.c
parent711d1dee1c86294b43e33202fb1eabd7e524ed9a (diff)
netdevsim: delete unnecessary debugfs checking
In normal situations where the driver doesn't dereference "nsim_node->ddir" or "nsim_node->rate_parent" itself then we are not supposed to check the return from debugfs functions. In the case of debugfs_create_dir() the check was wrong as well because it doesn't return NULL, it returns error pointers. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nfnetlink_osf.c')
0 files changed, 0 insertions, 0 deletions