diff options
author | edwin_rong <edwin_rong@realsil.com.cn> | 2011-06-17 19:35:10 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-01 14:53:41 -0700 |
commit | b6507df48240202b3f623e73c14623d7b3b09b99 (patch) | |
tree | 07af4457e979a07f38cc397f93cf7a78627f3fd8 /drivers/usb/storage/realtek_cr.c | |
parent | 151d9fad6e8459b4fc891a3c8543dbea11049387 (diff) | |
download | linux-stable-b6507df48240202b3f623e73c14623d7b3b09b99.tar.gz linux-stable-b6507df48240202b3f623e73c14623d7b3b09b99.tar.bz2 linux-stable-b6507df48240202b3f623e73c14623d7b3b09b99.zip |
Realtek cr: Remove unused Macros
Remove Macros wait_timeout() and wait_timeout_x().
Signed-off-by: edwin_rong <edwin_rong@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/realtek_cr.c')
-rw-r--r-- | drivers/usb/storage/realtek_cr.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c index 0b6e30b22ab2..2ea0da23306a 100644 --- 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); /* |