diff options
| author | Bernard Zhao <bernard@vivo.com> | 2022-05-15 18:52:05 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2022-05-17 11:19:15 +0200 |
| commit | 1588f5a91b169b5252f5d2ccee3f0dd7c13affda (patch) | |
| tree | aac0938889c633f6d14a46743e82f13614d227df /lib/mpi/mpi-mod.c | |
| parent | 6251264fedde83ade6f0f1f7049037469dd4de0b (diff) | |
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: Bernard Zhao <bernard@vivo.com>
Link: https://lore.kernel.org/r/20220516015208.6526-1-bernard@vivo.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
