All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] [PATCH] drivers/net/acenic.c MIN/MAX removal
@ 2004-02-07 15:37 Michael Veeck
  2004-02-07 16:30 ` Jeff Garzik
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Michael Veeck @ 2004-02-07 15:37 UTC (permalink / raw)
  To: kernel-janitors

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

Hi!
Patch (against 2.6.3-rc1) removes unnecessary min/max macros and changes 
calls to use kernel.h macros instead.
Feedback always welcome
Michael

[-- Attachment #2: minmax_drivers_net_acenic.patch --]
[-- Type: text/plain, Size: 390 bytes --]

--- linux-2.6.2.org/drivers/net/acenic.c	2004-02-07 15:25:57.000000000 +0100
+++ linux-2.6.2.new/drivers/net/acenic.c	2004-02-07 15:33:24.286033896 +0100
@@ -335,10 +335,6 @@
 #define ACE_PROBE_ARG				struct net_device *dev
 #endif
 
-#ifndef min_t
-#define min_t(type,a,b)	(((a)<(b))?(a):(b))
-#endif
-
 #ifndef ARCH_HAS_PREFETCHW
 #ifndef prefetchw
 #define prefetchw(x)				do{} while(0)

[-- Attachment #3: Type: text/plain, Size: 163 bytes --]

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

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

end of thread, other threads:[~2004-04-07 23:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-07 15:37 [Kernel-janitors] [PATCH] drivers/net/acenic.c MIN/MAX removal Michael Veeck
2004-02-07 16:30 ` Jeff Garzik
2004-02-07 17:35 ` Michael Veeck
2004-02-16 18:33 ` Randy.Dunlap
2004-02-17 12:53 ` Michael Veeck
2004-04-06 23:45 ` Michael Veeck
2004-04-07 23:16 ` Randy.Dunlap

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.