Skip to content

Commit 3984576

Browse files
oneukumgregkh
authored andcommitted
USB: yurex: kill needless initialization in yurex_read
This prevented the compiler from catching the patch that broke the driver. Signed-off-by: Oliver Neukum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 71c717c commit 3984576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/misc/yurex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count,
400400
loff_t *ppos)
401401
{
402402
struct usb_yurex *dev;
403-
int len = 0;
403+
int len;
404404
char in_buffer[20];
405405
unsigned long flags;
406406

0 commit comments

Comments
 (0)