projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d292b
)
PS3 system bus add_uevent_var() fallout
author
Geert Uytterhoeven
<
[email protected]
>
Mon, 15 Oct 2007 09:51:03 +0000
(11:51 +0200)
committer
Linus Torvalds
<
[email protected]
>
Mon, 15 Oct 2007 15:16:26 +0000
(08:16 -0700)
Kill unused variables
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/powerpc/platforms/ps3/system-bus.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/ps3/system-bus.c
b/arch/powerpc/platforms/ps3/system-bus.c
index ea0b2c790412483b29438f5b18b8d6693370b2d0..190ff4b59a557bd5be11d34d3e069b0425bb7572 100644
(file)
--- 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;