Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1704261 > unrolled thread

[PATCH net-next 0/3] net: dsa: remove unnecessary arguments

Started byVivien Didelot <vivien.didelot@savoirfairelinux.com>
First post2017-08-05 00:30 +0200
Last post2017-08-05 00:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH net-next 0/3] net: dsa: remove unnecessary arguments Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-05 00:30 +0200

#1704261 — [PATCH net-next 0/3] net: dsa: remove unnecessary arguments

FromVivien Didelot <vivien.didelot@savoirfairelinux.com>
Date2017-08-05 00:30 +0200
Subject[PATCH net-next 0/3] net: dsa: remove unnecessary arguments
Message-ID<uaTgu-4xE-9@gated-at.bofh.it>
Several DSA core functions take many arguments, mostly because the
legacy code does not assign ds->dev. This patch series assigns ds->dev
in legacy and removes the unnecessary arguments of these functions,
where either the dsa_switch or dsa_port argument is enough.

Vivien Didelot (3):
  net: dsa: assign switch device in legacy code
  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   | 19 +++++++++----------
 net/dsa/slave.c    | 14 +++++++-------
 5 files changed, 26 insertions(+), 29 deletions(-)

-- 
2.13.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web