arcnet: cleanup sizeof parameter
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 19 Jul 2013 05:48:05 +0000 (08:48 +0300)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 05:53:48 +0000 (07:53 +0200)
commit8c46d377c799adb4c8dbfed9cd1156d228298ff9
tree099a067c66742e320c943738110039d316012483
parent28a7606fe1d4cdae19bf6cea88f33df13f543e2a
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: Willy Tarreau <w@1wt.eu>
drivers/net/arcnet/arcnet.c