Commit 1119ea80 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

Merge branch 'net-dsa-hellcreek-minor-cleanups'

Kurt Kanzenbach says:

====================
net: dsa: hellcreek: Minor cleanups

fix two minor issues in the hellcreek driver.
====================

Link: https://lore.kernel.org/r/20201121114455.22422-1-kurt@linutronix.de


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 2fc9e684 ed5ef9fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1266,7 +1266,7 @@ static int hellcreek_probe(struct platform_device *pdev)

	ret = dsa_register_switch(hellcreek->ds);
	if (ret) {
		dev_err(dev, "Unable to register switch\n");
		dev_err_probe(dev, ret, "Unable to register switch\n");
		return ret;
	}

+1 −3
Original line number Diff line number Diff line
@@ -8,9 +8,7 @@
 * Based on tag_ksz.c.
 */

#include <linux/etherdevice.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <net/dsa.h>

#include "dsa_priv.h"