aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-10-15 05:51:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-15 11:16:26 -0400
commitb9090071a57185707c27b9d61b81bf941dbdf122 (patch)
tree751986a0e7a63fecf27db98217cd7a48f964a42e /arch/powerpc/platforms/ps3
parent57d292bd7e6e72898e533687af481603597b1ca7 (diff)
PS3 system bus add_uevent_var() fallout
Kill unused variables Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3')
-rw-r--r--arch/powerpc/platforms/ps3/system-bus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c
index ea0b2c790412..190ff4b59a55 100644
--- 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(struct device *_dev)
440static int ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env) 440static int ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env)
441{ 441{
442 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); 442 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
443 int i = 0, length = 0;
444 443
445 if (add_uevent_var(env, "MODALIAS=ps3:%d", dev->match_id)) 444 if (add_uevent_var(env, "MODALIAS=ps3:%d", dev->match_id))
446 return -ENOMEM; 445 return -ENOMEM;