提交 b6507df4 编写于 作者: E edwin_rong 提交者: Greg Kroah-Hartman

Realtek cr: Remove unused Macros

Remove Macros wait_timeout() and wait_timeout_x().
Signed-off-by: Nedwin_rong <edwin_rong@realsil.com.cn>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 151d9fad
......@@ -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);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册