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
Pull ia64-clocksource into release branch
[pandora-kernel.git]
/
drivers
/
net
/
shaper.c
diff --git
a/drivers/net/shaper.c
b/drivers/net/shaper.c
index
e886e8d
..
4c3d98f
100644
(file)
--- a/
drivers/net/shaper.c
+++ b/
drivers/net/shaper.c
@@
-600,10
+600,9
@@
static int __init shaper_init(void)
return -ENODEV;
alloc_size = sizeof(*dev) * shapers;
- devs = k
m
alloc(alloc_size, GFP_KERNEL);
+ devs = k
z
alloc(alloc_size, GFP_KERNEL);
if (!devs)
return -ENOMEM;
- memset(devs, 0, alloc_size);
for (i = 0; i < shapers; i++) {