Commit b9090071 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

PS3 system bus add_uevent_var() fallout

Kill unused variables
Signed-off-by: default avatarGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 57d292bd
...@@ -440,7 +440,6 @@ static void ps3_system_bus_shutdown(struct device *_dev) ...@@ -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) 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); 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)) if (add_uevent_var(env, "MODALIAS=ps3:%d", dev->match_id))
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment