]> git.hungrycats.org Git - linux/commitdiff
Remove libata's version of msleep()
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 May 2004 08:55:19 +0000 (01:55 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 May 2004 08:55:19 +0000 (01:55 -0700)
drivers/scsi/libata-core.c

index b7efb16dcfb664fa2660340746dab8b427fdba45..8ffae9421aa62b1ab7081706725231fba670a8c6 100644 (file)
@@ -96,23 +96,6 @@ static const char *ata_thr_state_name(unsigned int thr_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
  *     @ioaddr: set of IO ports to which output is sent