Skip to content

Commit

Permalink
Realtek cr: Remove unused Macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
edwin_rong authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent 151d9fa commit b6507df
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/usb/storage/realtek_cr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit b6507df

Please sign in to comment.