From: Geert Uytterhoeven Date: Mon, 15 Oct 2007 09:51:03 +0000 (+0200) Subject: PS3 system bus add_uevent_var() fallout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9090071a57185707c27b9d61b81bf941dbdf122;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git PS3 system bus add_uevent_var() fallout Kill unused variables Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- 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;