diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-09 12:56:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-09 14:16:39 -0700 |
commit | 4e744cb8126deac52257219fad754614a61989da (patch) | |
tree | 7888c85b0b00954c99fa30b5d0be8b33a91a9d1e /net/netfilter/xt_state.c | |
parent | 711d1dee1c86294b43e33202fb1eabd7e524ed9a (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/xt_state.c')
0 files changed, 0 insertions, 0 deletions