2007-10-14 18:23:16

by Al Viro

[permalink] [raw]
Subject: [PATCH] remove duplicate initializer (macvlan)


Signed-off-by: Al Viro <[email protected]>
---
drivers/net/macvlan.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index b7c81c8..2e4bcd5 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -178,7 +178,6 @@ static const struct header_ops macvlan_hard_header_ops = {
.create = macvlan_hard_header,
.rebuild = eth_rebuild_header,
.parse = eth_header_parse,
- .rebuild = eth_rebuild_header,
.cache = eth_header_cache,
.cache_update = eth_header_cache_update,
};
--
1.5.3.GIT


2007-10-14 19:19:54

by Stephen Hemminger

[permalink] [raw]
Subject: Re: [PATCH] remove duplicate initializer (macvlan)

On Sun, 14 Oct 2007 19:22:59 +0100
Al Viro <[email protected]> wrote:

>
> Signed-off-by: Al Viro <[email protected]>
> ---
> drivers/net/macvlan.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
> index b7c81c8..2e4bcd5 100644
> --- a/drivers/net/macvlan.c
> +++ b/drivers/net/macvlan.c
> @@ -178,7 +178,6 @@ static const struct header_ops macvlan_hard_header_ops = {
> .create = macvlan_hard_header,
> .rebuild = eth_rebuild_header,
> .parse = eth_header_parse,
> - .rebuild = eth_rebuild_header,
> .cache = eth_header_cache,
> .cache_update = eth_header_cache_update,
> };

Yup, thanks Al

--
Stephen Hemminger <[email protected]>