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:
151d9fa
)
Realtek cr: Remove unused Macros
author
edwin_rong
<
[email protected]
>
Fri, 17 Jun 2011 11:35:10 +0000
(19:35 +0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 1 Jul 2011 21:53:41 +0000
(14:53 -0700)
Remove Macros wait_timeout() and wait_timeout_x().
Signed-off-by: edwin_rong <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[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 0b6e30b22ab279c3eb63cc061b8482171c0ba214..2ea0da23306a071116d6a7662bc9777b61cff50f 100644
(file)
--- a/
drivers/usb/storage/realtek_cr.c
+++ b/
drivers/usb/storage/realtek_cr.c
@@
-119,15
+119,6
@@
struct rts51x_chip {
#define CHECK_ID(chip, pid, fw_ver) \
(CHECK_PID((chip), (pid)) && CHECK_FW_VER((chip), (fw_ver)))
-#define wait_timeout_x(task_state, msecs) \
-do { \
- set_current_state((task_state)); \
- schedule_timeout((msecs) * HZ / 1000); \
-} while (0)
-
-#define wait_timeout(msecs) \
- wait_timeout_x(TASK_INTERRUPTIBLE, (msecs))
-
static int init_realtek_cr(struct us_data *us);
/*