linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 8/8]  serial/icom: remove custom  msleep()
@ 2004-10-30 22:47 janitor
  2004-11-01 12:36 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: janitor @ 2004-10-30 22:47 UTC (permalink / raw)
  To: rmk+lkml; +Cc: akpm, linux-kernel, janitor, nacc




Any comments would be appreciated.

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

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---

 linux-2.6.10-rc1-max/drivers/serial/icom.c |    6 ------
 1 files changed, 6 deletions(-)

diff -puN drivers/serial/icom.c~remove-custom-msleep-drivers_serial_icom drivers/serial/icom.c
--- linux-2.6.10-rc1/drivers/serial/icom.c~remove-custom-msleep-drivers_serial_icom	2004-10-24 17:05:49.000000000 +0200
+++ linux-2.6.10-rc1-max/drivers/serial/icom.c	2004-10-24 17:05:49.000000000 +0200
@@ -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;
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 8/8]  serial/icom: remove custom  msleep()
  2004-10-30 22:47 [patch 8/8] serial/icom: remove custom msleep() janitor
@ 2004-11-01 12:36 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2004-11-01 12:36 UTC (permalink / raw)
  To: janitor; +Cc: akpm, linux-kernel, nacc

On Sun, Oct 31, 2004 at 12:47:22AM +0200, janitor@sternwelten.at wrote:
> Any comments would be appreciated.

Applied.

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-01 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-30 22:47 [patch 8/8] serial/icom: remove custom msleep() janitor
2004-11-01 12:36 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).