From: janitor@sternwelten.at
To: rmk+lkml@arm.linux.org.uk
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org,
janitor@sternwelten.at, nacc@us.ibm.com
Subject: [patch 8/8] serial/icom: remove custom msleep()
Date: Sun, 31 Oct 2004 00:47:22 +0200 [thread overview]
Message-ID: <E1CO20I-0003Gv-Rq@sputnik> (raw)
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;
_
next reply other threads:[~2004-10-30 22:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-30 22:47 janitor [this message]
2004-11-01 12:36 ` [patch 8/8] serial/icom: remove custom msleep() Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1CO20I-0003Gv-Rq@sputnik \
--to=janitor@sternwelten.at \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nacc@us.ibm.com \
--cc=rmk+lkml@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox