net: ethernet: bgmac: use #defines for MAX size
authorJon Mason <jon.mason@broadcom.com>
Tue, 28 Feb 2017 18:50:59 +0000 (13:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 01:17:47 +0000 (17:17 -0800)
commit02083c3aeda7b5fab49920b7fd9277b2c9ec50a9
treeeaba8ede78f1a05ddc3ea53423ee00c1d73eb2c8
parent452349c3235252aaccaf30cc75402827d43b72d4
net: ethernet: bgmac: use #defines for MAX size

The maximum frame size is really just the standard ethernet frame size
and FCS.  So use those existing defines to make the code a little more
beautiful.

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.h