Skip to content
Commit adeb15aa authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Assign efx and efx->type as early as possible in efx_pci_probe()



We also stop clearing *efx in efx_init_struct().  This is safe because
alloc_etherdev_mq() already clears it for us.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 3f65ea5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment