* [PATCH] Remove unused define from loopback driver
@ 2007-12-12 14:44 Pavel Emelyanov
2007-12-12 19:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Emelyanov @ 2007-12-12 14:44 UTC (permalink / raw)
To: David Miller; +Cc: Linux Netdev List, devel
The LOOPBACK_OVERHEAD is not used in this file at all.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
---
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index 662b8d1..3d1c743 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -64,8 +64,6 @@ struct pcpu_lstats {
unsigned long bytes;
};
-#define LOOPBACK_OVERHEAD (128 + MAX_HEADER + 16 + 16)
-
/* KISS: just allocate small chunks and copy bits.
*
* So, in fact, this is documentation, explaining what we expect
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove unused define from loopback driver
2007-12-12 14:44 [PATCH] Remove unused define from loopback driver Pavel Emelyanov
@ 2007-12-12 19:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-12-12 19:00 UTC (permalink / raw)
To: xemul; +Cc: netdev, devel
From: Pavel Emelyanov <xemul@openvz.org>
Date: Wed, 12 Dec 2007 17:44:54 +0300
> The LOOPBACK_OVERHEAD is not used in this file at all.
>
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Applied to net-2.6.25, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-12 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 14:44 [PATCH] Remove unused define from loopback driver Pavel Emelyanov
2007-12-12 19:00 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).