OpenCloudOS-Kernel/drivers/net/netdevsim
Dan Carpenter 4e744cb812 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>
2021-06-09 14:16:39 -07:00
..
Makefile netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
bpf.c netdevsim: Add debugfs toggle to reject BPF programs in verifier 2020-12-09 16:27:42 +01:00
bus.c netdevsim: Fix unsigned being compared to less than zero 2021-06-03 15:33:17 -07:00
dev.c netdevsim: delete unnecessary debugfs checking 2021-06-09 14:16:39 -07:00
ethtool.c netdevsim: add FEC settings support 2021-03-31 14:15:23 -07:00
fib.c netdevsim: remove unneeded semicolon 2021-04-06 16:27:33 -07:00
health.c netdevsim: switch to memdup_user_nul() 2021-03-24 16:26:58 -07:00
ipsec.c net: netdevsim: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
netdev.c netdevsim: Implement legacy/switchdev mode for VFs 2021-06-02 14:08:36 -07:00
netdevsim.h netdevsim: Allow setting parent node of rate objects 2021-06-02 14:08:37 -07:00
psample.c netdevsim: Only use sampling truncation length when valid 2021-04-22 13:23:56 -07:00
udp_tunnels.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00