mvpp2: no need to check return value of debugfs_create functions
[ Upstream commit e6882aa6 ] When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: "David S. Miller" <davem@davemloft.net> Cc: Maxime Chevallier <maxime.chevallier@bootlin.com> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Nathan Huckleberry <nhuck@google.com> Cc: netdev@vger.kernel.org Signed-off-by:Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: fe2c9c61 ("net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment