]> git.baikalelectronics.ru Git - kernel.git/commit
fjes: Delete an unnecessary check before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 6 Nov 2015 08:30:29 +0000 (09:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2015 18:17:31 +0000 (13:17 -0500)
commitf1dd06d9845c643bd085f6286c9fb18024fd4f16
tree9035156280442176be1bac7f004df17b2aad308e
parent99f286380146fe7221c0f16e0eb36823d9bca84e
fjes: Delete an unnecessary check before the function call "vfree"

The vfree() function performs also input parameter validation.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_hw.c