sh_eth: use ETH_ZLEN instead of home-grown #define
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 14 Feb 2014 00:05:42 +0000 (03:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Feb 2014 23:09:30 +0000 (18:09 -0500)
commit730c8c69bc8d4640336885e20e719b0842d0fcb2
tree3c48e5468778318b96ae42078f8470cb76707c35
parentca52b6647ffc6bc0f4b80823006834646b3e4f04
sh_eth: use ETH_ZLEN instead of home-grown #define

The driver #define's and uses ETHERSMALL macro for the minimum Ethernet frame
size for which we have a standard macro ETH_ZLEN.  Use the latter  instead of
the home-grown one.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h