projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2249cb
)
x86: remove unnecessary memset()
author
Akinobu Mita
<akinobu.mita@gmail.com>
Sat, 5 Apr 2008 13:39:06 +0000
(22:39 +0900)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:36 +0000
(17:41 +0200)
No need to clear the memory allocated by alloc_bootmem().
It is already filled with zero.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/io_apic_64.c
b/arch/x86/kernel/io_apic_64.c
index 6e383e126db27766b6e1323d523d8d34bbdc9b39..616c53afb711dd0b594273f5189c502610df1af7 100644
(file)
--- a/
arch/x86/kernel/io_apic_64.c
+++ b/
arch/x86/kernel/io_apic_64.c
@@
-2315,7
+2315,6
@@
static struct resource * __init ioapic_setup_resources(void)
res = (void *)mem;
if (mem != NULL) {
- memset(mem, 0, n);
mem += sizeof(struct resource) * nr_ioapics;
for (i = 0; i < nr_ioapics; i++) {