Tag: 7061b2bdd620e4dda449d4d4db69de57751ab289

qlogic: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions kfree() and vfree() perform also input parameter validation. Thus the test around their calls 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/qlogic/qlcnic/qlcnic_main.c | 24 ++++++++————– …/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 3 +– 2 files changed, 9 insertions(+), 18 deletions(-) …

Continue reading