public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: net: Kill skbuff macros from the stone ages.
@ 2009-02-10  8:06 David Miller
  2009-02-10  8:50 ` Alexey Dobriyan
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2009-02-10  8:06 UTC (permalink / raw)
  To: netdev


I've commited the following to net-next-2.6

net: Kill skbuff macros from the stone ages.

This kills of HAVE_ALLOC_SKB and HAVE_ALIGNABLE_SKB.

Nothing in-tree uses them and nothing in-tree has used them
since 2.0.x times.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 include/linux/skbuff.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 5eba400..9247008 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -29,9 +29,6 @@
 #include <linux/dmaengine.h>
 #include <linux/hrtimer.h>
 
-#define HAVE_ALLOC_SKB		/* For the drivers to know */
-#define HAVE_ALIGNABLE_SKB	/* Ditto 8)		   */
-
 /* Don't change this without changing skb_csum_unnecessary! */
 #define CHECKSUM_NONE 0
 #define CHECKSUM_UNNECESSARY 1
-- 
1.6.1.2.253.ga34a


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

* Re: [PATCH]: net: Kill skbuff macros from the stone ages.
  2009-02-10  8:50 ` Alexey Dobriyan
@ 2009-02-10  8:48   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-02-10  8:48 UTC (permalink / raw)
  To: adobriyan; +Cc: netdev

From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue, 10 Feb 2009 11:50:24 +0300

> On Tue, Feb 10, 2009 at 12:06:30AM -0800, David Miller wrote:
> > -#define HAVE_ALLOC_SKB		/* For the drivers to know */
> > -#define HAVE_ALIGNABLE_SKB	/* Ditto 8)		   */
> 
> BTW, after net_device_ops conversion will be finished, netdev HAVE_*
> macros should be deleted as well.

I agree.

To be honest the whole HAVE_* was a really dumb idea.  Althought I
suppose at the time it might have made some kind of sense.


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

* Re: [PATCH]: net: Kill skbuff macros from the stone ages.
  2009-02-10  8:06 [PATCH]: net: Kill skbuff macros from the stone ages David Miller
@ 2009-02-10  8:50 ` Alexey Dobriyan
  2009-02-10  8:48   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Dobriyan @ 2009-02-10  8:50 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On Tue, Feb 10, 2009 at 12:06:30AM -0800, David Miller wrote:
> -#define HAVE_ALLOC_SKB		/* For the drivers to know */
> -#define HAVE_ALIGNABLE_SKB	/* Ditto 8)		   */

BTW, after net_device_ops conversion will be finished, netdev HAVE_*
macros should be deleted as well.

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

end of thread, other threads:[~2009-02-10  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10  8:06 [PATCH]: net: Kill skbuff macros from the stone ages David Miller
2009-02-10  8:50 ` Alexey Dobriyan
2009-02-10  8:48   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox