net-Liquidio: Delete unnecessary checks before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 29 Jun 2015 10:22:24 +0000 (12:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2015 16:28:14 +0000 (09:28 -0700)
commit9686f3109a9b2190029cbc9bf3e0ee2e0e224eaf
tree856539472ac43097cf0eeb9f5a91e08df0add1dd
parenta694717437c14efd489566540e821bc83ec234f3
net-Liquidio: Delete unnecessary checks 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/ethernet/cavium/liquidio/octeon_device.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c
drivers/net/ethernet/cavium/liquidio/request_manager.c