The first commit does the heavy lifting of actually fusing tag_dsa.c and tag_edsa.c. Second commit just follows up with some clean up of existing comments.
v1 -> v2: - Fixed some grammar and whitespace errors. - Removed unnecessary default value in Kconfig. - Removed unnecessary #ifdef. - Split out comment fixes from functional changes. - Fully document enum dsa_code. Tobias Waldekranz (2): net: dsa: tag_dsa: Unify regular and ethertype DSA taggers net: dsa: tag_dsa: Use a consistent comment style net/dsa/Kconfig | 5 + net/dsa/Makefile | 3 +- net/dsa/tag_dsa.c | 315 ++++++++++++++++++++++++++++++++++++--------- net/dsa/tag_edsa.c | 202 ----------------------------- 4 files changed, 257 insertions(+), 268 deletions(-) delete mode 100644 net/dsa/tag_edsa.c -- 2.17.1