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:
parent
0c04722757
commit
3ccc8d475f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue