staging: fsl-dpaa2/eth: MTU cleanup

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

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ioana Radulescu 2018-07-09 10:01:10 -05:00 committed by Greg Kroah-Hartman
parent 0c04722757
commit 3ccc8d475f
1 changed files with 1 additions and 2 deletions

View File

@ -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 */