[PATCH] PS3 system bus add_uevent_var() fallout

Previous thread: [PATCH resend] ramdisk: fix zeroed ramdisk pages on memory pressure by Christian Borntraeger on Monday, October 15, 2007 - 4:28 am. (79 messages)

Next thread: [PATCH] Add Documentation/block/00-INDEX by Rob Landley on Monday, October 15, 2007 - 5:53 am. (3 messages)
To: Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Paul Mackerras <paulus@...>
Cc: Linux Kernel Development <linux-kernel@...>, Linux/PPC Development <linuxppc-dev@...>
Date: Monday, October 15, 2007 - 5:51 am

PS3 system bus add_uevent_var() fallout: kill unused variables

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
---
arch/powerpc/platforms/ps3/system-bus.c | 1 -
1 files changed, 1 deletion(-)

--- a/arch/powerpc/platforms/ps3/system-bus.c
+++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -440,7 +440,6 @@ static void ps3_system_bus_shutdown(stru
static int ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env)
{
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
- int i = 0, length = 0;

if (add_uevent_var(env, "MODALIAS=ps3:%d", dev->match_id))
return -ENOMEM;

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Network and Software Technology Center Europe
The Corporate Village

Previous thread: [PATCH resend] ramdisk: fix zeroed ramdisk pages on memory pressure by Christian Borntraeger on Monday, October 15, 2007 - 4:28 am. (79 messages)

Next thread: [PATCH] Add Documentation/block/00-INDEX by Rob Landley on Monday, October 15, 2007 - 5:53 am. (3 messages)