git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
fc4
/
soc.c
diff --git
a/drivers/fc4/soc.c
b/drivers/fc4/soc.c
index
247b463
..
ec1f947
100644
(file)
--- a/
drivers/fc4/soc.c
+++ b/
drivers/fc4/soc.c
@@
-556,10
+556,9
@@
static inline void soc_init(struct sbus_dev *sdev, int no)
int size, i;
int irq;
- s = k
m
alloc (sizeof (struct soc), GFP_KERNEL);
+ s = k
z
alloc (sizeof (struct soc), GFP_KERNEL);
if (s == NULL)
return;
- memset (s, 0, sizeof(struct soc));
spin_lock_init(&s->lock);
s->soc_no = no;