projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MIPS] Move some kernel globals from asm file to C file.
[powerpc.git]
/
net
/
atm
/
resources.c
diff --git
a/net/atm/resources.c
b/net/atm/resources.c
index
de25c64
..
529f7e6
100644
(file)
--- a/
net/atm/resources.c
+++ b/
net/atm/resources.c
@@
-33,10
+33,9
@@
static struct atm_dev *__alloc_atm_dev(const char *type)
{
struct atm_dev *dev;
- dev = k
m
alloc(sizeof(*dev), GFP_KERNEL);
+ dev = k
z
alloc(sizeof(*dev), GFP_KERNEL);
if (!dev)
return NULL;
- memset(dev, 0, sizeof(*dev));
dev->type = type;
dev->signal = ATM_PHY_SIG_UNKNOWN;
dev->link_rate = ATM_OC3_PCR;