Skip to content
Commit fd227816 authored by Dan Carpenter's avatar Dan Carpenter Committed by Krzysztof Kozlowski
Browse files

memory: emif: Remove bogus debugfs error handling



Callers are generally not supposed to check the return values from
debugfs functions.  Debugfs functions never return NULL so this error
handling will never trigger.  (Historically debugfs functions used to
return a mix of NULL and error pointers but it was eventually deemed too
complicated for something which wasn't intended to be used in normal
situations).

Delete all the error handling.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
Link: https://lore.kernel.org/r/20200826113759.GF393664@mwanda


Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 13d029ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment