From fee7e3cabb6d1f37aadce4c467985e6f5d82c00c Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 18 May 2004 01:55:19 -0700 Subject: [PATCH] Remove libata's version of msleep() --- drivers/scsi/libata-core.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index b7efb16dcfb66..8ffae9421aa62 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -96,23 +96,6 @@ static const char *ata_thr_state_name(unsigned int thr_state) return ""; } -/** - * 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 -- 2.53.0