aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/misc/usbled.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/misc/usbled.c')
-rw-r--r--drivers/usb/misc/usbled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/usbled.c b/drivers/usb/misc/usbled.c
index 1732d9bc097..1616ad1793a 100644
--- a/drivers/usb/misc/usbled.c
+++ b/drivers/usb/misc/usbled.c
@@ -45,7 +45,7 @@ struct usb_led {
static void change_color(struct usb_led *led)
{
- int retval;
+ int retval = 0;
unsigned char *buffer;
buffer = kmalloc(8, GFP_KERNEL);