Commit f3e46ac4 authored by Thomas Meyer's avatar Thomas Meyer Committed by Martin K. Petersen

scsi: qedf: NULL check before some freeing functions is not needed

NULL check before some freeing functions is not needed.
Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Acked-by: default avatarManish Rangankar <Manish.Rangankar@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 19c05072
......@@ -2935,8 +2935,7 @@ static void qedf_free_fcoe_pf_param(struct qedf_ctx *qedf)
qedf_free_global_queues(qedf);
if (qedf->global_queues)
kfree(qedf->global_queues);
kfree(qedf->global_queues);
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment