mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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>
This commit is contained in:
parent
151d9fad6e
commit
b6507df482
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue