]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arcnet: cleanup sizeof parameter
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 19 Jul 2013 05:48:05 +0000 (08:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Jul 2013 00:36:03 +0000 (17:36 -0700)
commit087d273caf4f7d3f2159256f255f1f432bc84a5b
tree6437d73e7d6dde1f4bf6da738d2c741f1be36206
parentb69bbddfa136dc53ac319d58bc38b41f8aefffea
arcnet: cleanup sizeof parameter

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>
drivers/net/arcnet/arcnet.c