Commit 3ccc8d47 authored by Ioana Radulescu's avatar Ioana Radulescu Committed by Greg Kroah-Hartman
Browse files

staging: fsl-dpaa2/eth: MTU cleanup



Don't set the lower MTU limit explicitly, since we use
the default value anyway.

Signed-off-by: default avatarIoana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c047227
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2383,8 +2383,7 @@ static int netdev_init(struct net_device *net_dev)
		return err;
	}

	/* Set MTU limits */
	net_dev->min_mtu = 68;
	/* Set MTU upper limit; lower limit is 68B (default value) */
	net_dev->max_mtu = DPAA2_ETH_MAX_MTU;

	/* Set actual number of queues in the net device */