Re: [PATCH net-next 2/7] net: dsa: remove useless rcv copy in DSA tree

2017-05-30 Thread David Miller
From: Andrew Lunn Date: Tue, 30 May 2017 17:05:31 +0200 > On Tue, May 30, 2017 at 10:21:26AM -0400, Vivien Didelot wrote: >> The dsa_switch_tree holds a copy of the rcv member of the dsa_device_ops >> structure. dst->rcv is always assigned to dst->tag_ops->rcv. Remove this >> useless copy. >> >>

Re: [PATCH net-next 2/7] net: dsa: remove useless rcv copy in DSA tree

2017-05-30 Thread Andrew Lunn
On Tue, May 30, 2017 at 10:21:26AM -0400, Vivien Didelot wrote: > The dsa_switch_tree holds a copy of the rcv member of the dsa_device_ops > structure. dst->rcv is always assigned to dst->tag_ops->rcv. Remove this > useless copy. > > Signed-off-by: Vivien Didelot > --- > include/net/dsa.h | 4 --

[PATCH net-next 2/7] net: dsa: remove useless rcv copy in DSA tree

2017-05-30 Thread Vivien Didelot
The dsa_switch_tree holds a copy of the rcv member of the dsa_device_ops structure. dst->rcv is always assigned to dst->tag_ops->rcv. Remove this useless copy. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 4 net/dsa/dsa.c | 4 ++-- net/dsa/dsa2.c| 2 -- net/dsa/legacy.c |