All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] [PATCH] drivers/char/rocket_int.h MIN/MAX removal
@ 2004-07-03 15:05 Michael Veeck
  2004-07-03 15:05 ` [Kernel-janitors] [PATCH] drivers/char/riscom8.c " Michael Veeck
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Veeck @ 2004-07-03 15:05 UTC (permalink / raw)
  To: kernel-janitors

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

Patch (against 2.6.7) removes unnecessary min/max macros and changes
calls to use kernel.h macros instead.

Feedback is always welcome
Michael








[-- Attachment #2: patch-char-rocketinth --]
[-- Type: text/plain, Size: 392 bytes --]

--- linux-2.6.7-old/drivers/char/rocket_int.h	2004-07-04 11:04:14.000000000 +0200
+++ linux-2.6.7-new/drivers/char/rocket_int.h	2004-07-04 15:56:26.584650312 +0200
@@ -1241,10 +1241,6 @@
 #define TTY_ROCKET_MAJOR	46
 #define CUA_ROCKET_MAJOR	47
 
-#ifndef MIN
-#define MIN(a,b)	((a) < (b) ? (a) : (b))
-#endif
-
 #ifdef PCI_VENDOR_ID_RP
 #undef PCI_VENDOR_ID_RP
 #undef PCI_DEVICE_ID_RP8OCTA

[-- Attachment #3: 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] 4+ messages in thread

end of thread, other threads:[~2004-07-12 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-03 15:05 [Kernel-janitors] [PATCH] drivers/char/rocket_int.h MIN/MAX removal Michael Veeck
2004-07-03 15:05 ` [Kernel-janitors] [PATCH] drivers/char/riscom8.c " Michael Veeck
2004-07-03 15:07 ` [Kernel-janitors] [PATCH] drivers/char/rocket.c " Michael Veeck
2004-07-12 15:32 ` [Kernel-janitors] [PATCH] drivers/char/riscom8.c " Michael Veeck

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.