Skip to content
Commit f8e34332 authored by Minjie Du's avatar Minjie Du Committed by Jakub Kicinski
Browse files

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: default avatarMinjie Du <duminjie@vivo.com>
Reviewed-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20230717025538.2848-1-duminjie@vivo.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9843814f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment