All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] serial/icom: Remove custom msescs_to_jiffies() macro
@ 2005-03-28 17:23 ` Tobias Klauser
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Klauser @ 2005-03-28 17:23 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-serial

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Remove the MSECS_TO_JIFFIES() macro because msescs_to_jiffies() from
jiffies.h should be used. The macro isn't referenced anywhere anyway.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>

diff -urpN linux-2.6.11.orig/drivers/serial/icom.h linux-2.6.11/drivers/serial/icom.h
--- linux-2.6.11.orig/drivers/serial/icom.h	2005-03-02 12:50:31.000000000 +0100
+++ linux-2.6.11/drivers/serial/icom.h	2005-03-23 13:52:24.485557392 +0100
@@ -286,5 +286,3 @@ struct lookup_int_table {
 	u32	__iomem *global_int_mask;
 	unsigned long	processor_id;
 };
-
-#define MSECS_TO_JIFFIES(ms) (((ms)*HZ+999)/1000)

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

* [PATCH] serial/icom: Remove custom msescs_to_jiffies() macro
@ 2005-03-28 17:23 ` Tobias Klauser
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Klauser @ 2005-03-28 17:23 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-serial

Remove the MSECS_TO_JIFFIES() macro because msescs_to_jiffies() from
jiffies.h should be used. The macro isn't referenced anywhere anyway.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>

diff -urpN linux-2.6.11.orig/drivers/serial/icom.h linux-2.6.11/drivers/serial/icom.h
--- linux-2.6.11.orig/drivers/serial/icom.h	2005-03-02 12:50:31.000000000 +0100
+++ linux-2.6.11/drivers/serial/icom.h	2005-03-23 13:52:24.485557392 +0100
@@ -286,5 +286,3 @@ struct lookup_int_table {
 	u32	__iomem *global_int_mask;
 	unsigned long	processor_id;
 };
-
-#define MSECS_TO_JIFFIES(ms) (((ms)*HZ+999)/1000)

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

end of thread, other threads:[~2005-03-28 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28 17:23 [KJ] [PATCH] serial/icom: Remove custom msescs_to_jiffies() macro Tobias Klauser
2005-03-28 17:23 ` Tobias Klauser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.