projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5409d2c
)
drivers/base/memory.c: fix warning due to "memory hotplug: Speed up add/remove when...
author
Andrew Morton
<akpm@linux-foundation.org>
Thu, 12 May 2011 19:45:31 +0000
(12:45 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 12 May 2011 20:27:19 +0000
(13:27 -0700)
drivers/base/memory.c: In function 'memory_block_change_state':
drivers/base/memory.c:281: warning: unused variable 'i'
less beer, more testing
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/memory.c
b/drivers/base/memory.c
index c4c443db7cbfa5920e997114a359cc95f51e75b5..0a134a424a37d30a5cf22cf71e649457f2d3a2a6 100644
(file)
--- a/
drivers/base/memory.c
+++ b/
drivers/base/memory.c
@@
-278,7
+278,7
@@
memory_block_action(unsigned long phys_index, unsigned long action)
static int memory_block_change_state(struct memory_block *mem,
unsigned long to_state, unsigned long from_state_req)
{
- int
i,
ret = 0;
+ int ret = 0;
mutex_lock(&mem->state_mutex);