git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] 3w-9xxx, 3w-xxxx: memset not needed in probe
[pandora-kernel.git]
/
drivers
/
scsi
/
3w-xxxx.c
diff --git
a/drivers/scsi/3w-xxxx.c
b/drivers/scsi/3w-xxxx.c
index
a2fc060
..
adb98a2
100644
(file)
--- 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 *
}
tw_dev = (TW_Device_Extension *)host->hostdata;
- memset(tw_dev, 0, sizeof(TW_Device_Extension));
-
/* Save values to device extension */
tw_dev->host = host;
tw_dev->tw_pci_dev = pdev;