diff options
| author | Minjie Du <duminjie@vivo.com> | 2023-07-17 10:55:37 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-18 17:53:11 -0700 |
| commit | f8e343326c1d267e2144586a72663540f651c6a7 (patch) | |
| tree | 5419335d1e187fff77b735fcfc1ab9bb74a22a80 /net/lapb/lapb_in.c | |
| parent | 9843814fc651d590cc5a82488c644ccf70975f16 (diff) | |
net: mvpp2: debugfs: remove redundant parameter check in three functions
As per the comment above debugfs_create_dir(), it is not expected to
return an error, so an extra error check is not needed.
Drop the return check of debugfs_create_dir() in
mvpp2_dbgfs_c2_entry_init(), mvpp2_dbgfs_flow_tbl_entry_init()
and mvpp2_dbgfs_cls_init().
Signed-off-by: Minjie Du <duminjie@vivo.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20230717025538.2848-1-duminjie@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
