]> git.karo-electronics.de Git - linux-beck.git/commit
SCSI: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 Sep 2013 01:16:20 +0000 (10:16 +0900)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Oct 2013 13:26:04 +0000 (15:26 +0200)
commit08b7e10716a518af01b07915dbb1938868bbf878
tree685371b0b13af3f05bae2df0efdab1133152f5b4
parent6d3be300c658ce3f1777a6b1279414c62bc7d817
SCSI: remove unnecessary pci_set_drvdata()

Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: James Bottomley <JBottomley@parallels.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
21 files changed:
drivers/scsi/arcmsr/arcmsr_hba.c
drivers/scsi/atp870u.c
drivers/scsi/bfa/bfad.c
drivers/scsi/csiostor/csio_init.c
drivers/scsi/dc395x.c
drivers/scsi/fnic/fnic_main.c
drivers/scsi/gdth.c
drivers/scsi/hpsa.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/megaraid/megaraid_mbox.c
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/mvsas/mv_init.c
drivers/scsi/mvumi.c
drivers/scsi/pm8001/pm8001_init.c
drivers/scsi/pmcraid.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla4xxx/ql4_os.c
drivers/scsi/stex.c
drivers/scsi/tmscsim.c
drivers/scsi/ufs/ufshcd-pci.c
drivers/scsi/vmw_pvscsi.c