diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/3w-9xxx.c | 2 | ||||
-rw-r--r-- | drivers/scsi/3w-xxxx.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index fa922f806357..51c3ebf1c7d1 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -2025,8 +2025,6 @@ static int __devinit twa_probe(struct pci_dev *pdev, const struct pci_device_id | |||
2025 | } | 2025 | } |
2026 | tw_dev = (TW_Device_Extension *)host->hostdata; | 2026 | tw_dev = (TW_Device_Extension *)host->hostdata; |
2027 | 2027 | ||
2028 | memset(tw_dev, 0, sizeof(TW_Device_Extension)); | ||
2029 | |||
2030 | /* Save values to device extension */ | 2028 | /* Save values to device extension */ |
2031 | tw_dev->host = host; | 2029 | tw_dev->host = host; |
2032 | tw_dev->tw_pci_dev = pdev; | 2030 | tw_dev->tw_pci_dev = pdev; |
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index a2fc06022e10..adb98a297210 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -2286,8 +2286,6 @@ static int __devinit tw_probe(struct pci_dev *pdev, const struct pci_device_id * | |||
2286 | } | 2286 | } |
2287 | tw_dev = (TW_Device_Extension *)host->hostdata; | 2287 | tw_dev = (TW_Device_Extension *)host->hostdata; |
2288 | 2288 | ||
2289 | memset(tw_dev, 0, sizeof(TW_Device_Extension)); | ||
2290 | |||
2291 | /* Save values to device extension */ | 2289 | /* Save values to device extension */ |
2292 | tw_dev->host = host; | 2290 | tw_dev->host = host; |
2293 | tw_dev->tw_pci_dev = pdev; | 2291 | tw_dev->tw_pci_dev = pdev; |