Tag: 9686f3109a9b2190029cbc9bf3e0ee2e0e224eaf

net-Liquidio: Delete unnecessary checks before the function call “vfree”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: David S. Miller — drivers/net/ethernet/cavium/liquidio/octeon_device.c | 11 +++——– drivers/net/ethernet/cavium/liquidio/octeon_droq.c | 4 +— drivers/net/ethernet/cavium/liquidio/request_manager.c | 3 +– 3 files changed, 5 insertions(+), …

Continue reading