* [PATCH] stop_machine: remove unused variable
@ 2008-07-31 2:31 Li Zefan
2008-08-04 3:36 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2008-07-31 2:31 UTC (permalink / raw)
To: Rusty Russell; +Cc: LKML
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
kernel/stop_machine.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index e446c7c..af3c7ce 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -65,7 +65,6 @@ static void ack_state(void)
static int stop_cpu(struct stop_machine_data *smdata)
{
enum stopmachine_state curstate = STOPMACHINE_NONE;
- int uninitialized_var(ret);
/* Simple state machine */
do {
--
1.5.4.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] stop_machine: remove unused variable
2008-07-31 2:31 [PATCH] stop_machine: remove unused variable Li Zefan
@ 2008-08-04 3:36 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2008-08-04 3:36 UTC (permalink / raw)
To: Li Zefan; +Cc: LKML
On Thursday 31 July 2008 12:31:02 Li Zefan wrote:
> static int stop_cpu(struct stop_machine_data *smdata)
> {
> enum stopmachine_state curstate = STOPMACHINE_NONE;
> - int uninitialized_var(ret);
>
Thanks, applied!
Rusty.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-04 3:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 2:31 [PATCH] stop_machine: remove unused variable Li Zefan
2008-08-04 3:36 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox