Skip to contentSkip to conversation

serial/icom: remove custom msleep()

PATCH Applied [email protected] 2 participants 2 messages Oct 30, 2004 – Nov 1, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 8/8 serial/icom: remove custom msleep()

Any comments would be appreciated.

Description: Remove custom msleep() to guarantee
the task delays as expected.

---

 linux-2.6.10-rc1-max/drivers/serial/icom.c |    6 ------
 1 files changed, 6 deletions(-)
drivers/serial/icom.c renamed from drivers/serial/icom.c~remove-custom-msleep-drivers_serial_icom +0 -6
diff -puN drivers/serial/icom.c~remove-custom-msleep-drivers_serial_icom drivers/serial/icom.c
@@ -140,12 +140,6 @@ static inline void trace(struct icom_por
 static inline void trace(struct icom_port *icom_port, char *trace_pt, unsigned long trace_data) {};
 #endif
 
-static void msleep(unsigned long msecs)
-{
-	set_current_state(TASK_UNINTERRUPTIBLE);
-	schedule_timeout(MSECS_TO_JIFFIES(msecs));
-}
-
 static void free_port_memory(struct icom_port *icom_port)
 {
 	struct pci_dev *dev = icom_port->adapter->pci_dev;

_

Applied
#1 lore raw
Quoted 1 line · On Sun, Oct 31, 2004 at 12:47:22AM +0200, [email protected] wrote:

Any comments would be appreciated.

Applied.

Signature · 4 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core