Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1704706 > unrolled thread
| Started by | Vivien Didelot <vivien.didelot@savoirfairelinux.com> |
|---|---|
| First post | 2017-08-05 22:30 +0200 |
| Last post | 2017-08-07 23:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH net-next v2 0/3] net: dsa: remove useless arguments Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-05 22:30 +0200
Re: [PATCH net-next v2 0/3] net: dsa: remove useless arguments David Miller <davem@davemloft.net> - 2017-08-07 23:30 +0200
| From | Vivien Didelot <vivien.didelot@savoirfairelinux.com> |
|---|---|
| Date | 2017-08-05 22:30 +0200 |
| Subject | [PATCH net-next v2 0/3] net: dsa: remove useless arguments |
| Message-ID | <ubdRT-1eg-7@gated-at.bofh.it> |
Several DSA core setup functions take many arguments, mostly because of the legacy code. This patch series removes the useless args of these functions, where either the dsa_switch or dsa_port argument is enough. Changes in v2: - ds->dev is already assigned by dsa_switch_alloc Vivien Didelot (3): net: dsa: remove useless argument in legacy setup net: dsa: remove useless args of dsa_cpu_dsa_setup net: dsa: remove useless args of dsa_slave_create net/dsa/dsa.c | 10 +++++----- net/dsa/dsa2.c | 6 +++--- net/dsa/dsa_priv.h | 6 ++---- net/dsa/legacy.c | 18 ++++++++---------- net/dsa/slave.c | 14 +++++++------- 5 files changed, 25 insertions(+), 29 deletions(-) -- 2.13.3
[toc] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2017-08-07 23:30 +0200 |
| Message-ID | <ubXL4-62i-15@gated-at.bofh.it> |
| In reply to | #1704706 |
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Date: Sat, 5 Aug 2017 16:20:16 -0400 > Several DSA core setup functions take many arguments, mostly because of > the legacy code. This patch series removes the useless args of these > functions, where either the dsa_switch or dsa_port argument is enough. > > Changes in v2: > - ds->dev is already assigned by dsa_switch_alloc Series applied, thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web