diff options
author | 2024-09-03 22:31:49 +0800 | |
---|---|---|
committer | 2024-09-04 16:58:37 -0700 | |
commit | 4614ac219e3f441c64d98d684edbdc8945d49dcc (patch) | |
tree | 1231264b251c28b8e273f2df19e45af6bd616c36 /drivers/net/netkit.c | |
parent | Merge branch 'unmask-upper-dscp-bits-part-3' (diff) | |
download | wireguard-linux-4614ac219e3f441c64d98d684edbdc8945d49dcc.tar.xz wireguard-linux-4614ac219e3f441c64d98d684edbdc8945d49dcc.zip |
ionic: Remove redundant null pointer checks in ionic_debugfs_add_qcq()
Since the debugfs_create_dir() never returns a null pointer, checking
the return value for a null pointer is redundant, and using IS_ERR is
safe enough.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Link: https://patch.msgid.link/20240903143149.2004530-1-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions