summaryrefslogtreecommitdiff
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-08-14 02:51:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-15 18:47:10 -0300
commit5359805193dc83e1aab2f8e230d57c649363c5c5 (patch)
treeeaecebf44e6a9f64e6a96b7b6519fac289a3c4b6 /net/sysctl_net.c
parent3bfb41001da5740b1c65ff537dfbff5904a4915d (diff)
[media] it913x-fe: use ARRAY_SIZE() as a cleanup
This code looks suspicious, but it turns out that "nv" is an array of u8 so sizeof() is the same as ARRAY_SIZE(). Using ARRAY_SIZE() is more readable though. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions