Commit 7d37d0c1 authored by Committed by David S. MillerBrowse files
net: sctp: Deletion of an unnecessary check before the function call "kfree"
The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <email@example.com> Acked-By: Neil Horman <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 1 addition and 2 deletions