[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141017.162449.747433271390481594.davem@davemloft.net>
Date: Fri, 17 Oct 2014 16:24:49 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: cwang@...pensource.com
Cc: roy.qing.li@...il.com, netdev@...r.kernel.org,
stephen@...workplumber.org
Subject: Re: [PATCH v2] vxlan: remove the dead codes
From: Cong Wang <cwang@...pensource.com>
Date: Fri, 17 Oct 2014 10:33:08 -0700
> On Thu, Oct 16, 2014 at 11:04 PM, <roy.qing.li@...il.com> wrote:
>> From: Li RongQing <roy.qing.li@...il.com>
>>
>> remove the dead codes, no user uses vxlan_salt
>>
>> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
>> ---
>> drivers/net/vxlan.c | 4 ----
>> 1 file changed, 4 deletions(-)
>>
>> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
>> index 77ab844..855a81d 100644
>> --- a/drivers/net/vxlan.c
>> +++ b/drivers/net/vxlan.c
>> @@ -152,8 +152,6 @@ struct vxlan_dev {
>> struct hlist_head fdb_head[FDB_HASH_SIZE];
>> };
>>
>> -/* salt for hash table */
>> -static u32 vxlan_salt __read_mostly;
>
> Hmm, it has never been used since it was born. Maybe we should
> really use for vxlan hash table?
Yes, agreed, and I am very sure that this was Stephen Hemminger's
original intention.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists