arcnet: cleanup sizeof parameter
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 19 Jul 2013 05:48:05 +0000 (08:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:25 +0000 (18:35 -0700)
commit773c8fef67aa54c6533b26d5a162a1a3531e1d9f
tree2529e1556a878ed2dcce92ac61a1e31feca95307
parentf2281d42f6edb5934406cc1d32fa982e05b2ed41
arcnet: cleanup sizeof parameter

[ Upstream commit 087d273caf4f7d3f2159256f255f1f432bc84a5b ]

This patch doesn't change the compiled code because ARC_HDR_SIZE is 4
and sizeof(int) is 4, but the intent was to use the header size and not
the sizeof the header size.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/arcnet/arcnet.c