aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-10-15 11:51:03 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-15 08:16:26 -0700
commitb9090071a57185707c27b9d61b81bf941dbdf122 (patch)
tree751986a0e7a63fecf27db98217cd7a48f964a42e /arch/powerpc/platforms
parentHID: fix HIDIOCGRDESC memory access in hidraw (diff)
downloadlinux-dev-b9090071a57185707c27b9d61b81bf941dbdf122.tar.xz
linux-dev-b9090071a57185707c27b9d61b81bf941dbdf122.zip
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')
-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)
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;