Commit 677a0b5a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

drivers/usb/storage/realtek_cr.c: fix build

Remove unused local `us', which broke the build.  Also nuke an unneeded

Repairs commit 191648d0

 ("usb: storage: Convert US_DEBUGP to

Cc: Joe Perches <>
Acked-by: default avatarDavid Rientjes <>
Cc: Greg KH <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c9ef7139
......@@ -933,14 +933,11 @@ static int realtek_cr_autosuspend_setup(struct us_data *us)
static void realtek_cr_destructor(void *extra)
struct rts51x_chip *chip = (struct rts51x_chip *)extra;
struct us_data *us;
struct rts51x_chip *chip = extra;
if (!chip)
us = chip->us;
if (ss_en) {
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