Skip to content
Commit 2ce5a307 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jakub Kicinski
Browse files

octeontx2-af: debugfs: delete dead code



These debugfs never return NULL so all this code will never be run.

In the normal case, (and in this case particularly), the debugfs
functions are not supposed to be checked for errors so all this error
checking code can be safely deleted.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X8c6vpapJDYI2eWI@mwanda


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 59f96cf6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment