projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ef713
)
drivers/usb/storage/realtek_cr.c: fix build
author
Andrew Morton
<
[email protected]
>
Tue, 30 Apr 2013 22:26:44 +0000
(15:26 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 1 May 2013 00:04:00 +0000
(17:04 -0700)
Remove unused local `us', which broke the build. Also nuke an unneeded
cast.
Repairs commit
191648d03d20
("usb: storage: Convert US_DEBUGP to
usb_stor_dbg").
Cc: Joe Perches <
[email protected]
>
Acked-by: David Rientjes <
[email protected]
>
Cc: Greg KH <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/usb/storage/realtek_cr.c
patch
|
blob
|
history
diff --git
a/drivers/usb/storage/realtek_cr.c
b/drivers/usb/storage/realtek_cr.c
index 4797228747fbfda5fb15d12aa589b63f2d453f1b..8623577bbbe70d608eb0866f18be56c20513a5bf 100644
(file)
--- a/
drivers/usb/storage/realtek_cr.c
+++ b/
drivers/usb/storage/realtek_cr.c
@@
-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)
return;
- us = chip->us;
-
#ifdef CONFIG_REALTEK_AUTOPM
if (ss_en) {
del_timer(&chip->rts51x_suspend_timer);