Skip to content

Commit

Permalink
USB: yurex: kill needless initialization in yurex_read
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Oct 7, 2024
1 parent 71c717c commit 3984576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/misc/yurex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3984576

Please sign in to comment.