Commit 39845764 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: yurex: kill needless initialization in yurex_read

This prevented the compiler from catching the patch
that broke the driver.
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20241007094004.242122-2-oneukum@suse.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 71c717cd
...@@ -400,7 +400,7 @@ static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count, ...@@ -400,7 +400,7 @@ static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count,
loff_t *ppos) loff_t *ppos)
{ {
struct usb_yurex *dev; struct usb_yurex *dev;
int len = 0; int len;
char in_buffer[20]; char in_buffer[20];
unsigned long flags; unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment