Skip to content
Commit 1588f5a9 authored by Bernard Zhao's avatar Bernard Zhao Committed by Paolo Abeni
Browse files

ethernet/ti: delete if NULL check befort devm_kfree



devm_kfree check the pointer, there is no need to check before
devm_kfree call.
This change is to cleanup the code a bit.

Signed-off-by: default avatarBernard Zhao <bernard@vivo.com>
Link: https://lore.kernel.org/r/20220516015208.6526-1-bernard@vivo.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 6251264f
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