Skip to content
Commit c0c643e1 authored by Mustafa Ismail's avatar Mustafa Ismail Committed by Doug Ledford
Browse files

RDMA/i40iw: Fix device initialization error path



Some error paths in i40iw_initialize_dev are doing
additional and unnecessary work before exiting.
Correctly free resources allocated prior to error
and return with correct status code.

Signed-off-by: default avatarMustafa Ismail <mustafa.ismail@intelcom>
Signed-off-by: default avatarHenry Orosco <henry.orosco@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b117f479
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment