Commit fee7e3ca authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Remove libata's version of msleep()

parent baff547c
...@@ -96,23 +96,6 @@ static const char *ata_thr_state_name(unsigned int thr_state) ...@@ -96,23 +96,6 @@ static const char *ata_thr_state_name(unsigned int thr_state)
return "<invalid THR_xxx state>"; return "<invalid THR_xxx state>";
} }
/**
* msleep - sleep for a number of milliseconds
* @msecs: number of milliseconds to sleep
*
* Issues schedule_timeout call for the specified number
* of milliseconds.
*
* LOCKING:
* None.
*/
static void msleep(unsigned long msecs)
{
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(msecs_to_jiffies(msecs) + 1);
}
/** /**
* ata_tf_load_pio - send taskfile registers to host controller * ata_tf_load_pio - send taskfile registers to host controller
* @ioaddr: set of IO ports to which output is sent * @ioaddr: set of IO ports to which output is sent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment