Skip to content
Snippets Groups Projects
Commit 15f7fc06 authored by Bandan Das's avatar Bandan Das Committed by James Bottomley
Browse files

[SCSI] mpt fusion: Cleanup some duplicate calls in mptbase.c


In mpt_detach, call to pci_set_drvdata is redundant because it
has already been called in mpt_adapter_disable. In mpt_attach,
ioc->pcidev is set to pdev two times.

Signed-off-by: default avatarBandan Das <bandan.das@stratus.com>
Acked-by: default avatar"Desai, Kashyap" <Kashyap.Desai@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent c817ce84
No related branches found
No related tags found
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