aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authormerge <null@invalid>2009-02-18 05:08:19 +0000
committerAndy Green <agreen@octopus.localdomain>2009-02-18 05:08:19 +0000
commited8e10e8174e36f328bfc7a268589d0a23934e66 (patch)
tree3523a71ede15f73482954c8c3508c396881e5ae1 /drivers
parent3acfbdfac722f26e370eb5895556f1e855dceda5 (diff)
MERGE-via-pending-tracking-hist-claen-ledtrig-netdev-unused-va
pending-tracking-hist top was claen-ledtrig-netdev-unused-va / 126536fc6ed26323103f941e7cf81e4b0ceaab7a ... parent commitmessage: From: Andy Green <andy@openmoko.com> claen-ledtrig-netdev-unused-var-warn.patch Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/ledtrig-netdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/ledtrig-netdev.c b/drivers/leds/ledtrig-netdev.c
index e21fcc7d898..c074b0d3aae 100644
--- a/drivers/leds/ledtrig-netdev.c
+++ b/drivers/leds/ledtrig-netdev.c
@@ -149,7 +149,6 @@ static ssize_t led_mode_show(struct device *dev,
if (trigger_data->mode == 0) {
strcpy(buf, "none\n");
} else {
- char *p = buf;
if (trigger_data->mode & MODE_LINK)
strcat(buf, "link ");
if (trigger_data->mode & MODE_TX)