aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
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)