1

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 <oneukum@suse.com>
Link: https://lore.kernel.org/r/20241007094004.242122-2-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oliver Neukum 2024-10-07 11:39:48 +02:00 committed by Greg Kroah-Hartman
parent 71c717cd8a
commit 39845764a0

View File

@ -400,7 +400,7 @@ static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count,
loff_t *ppos)
{
struct usb_yurex *dev;
int len = 0;
int len;
char in_buffer[20];
unsigned long flags;