aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorJérémy Lefaure <[email protected]>2017-10-01 19:30:48 +0000
committerMike Marshall <[email protected]>2017-11-13 20:09:58 +0000
commit296200d3bb649f9646f60abe6e8ebb9fd8d20f4b (patch)
treed47aaf3f3608f15a4d2f747e3bf13d82b7d5454d /net/ipv4/tcp_input.c
parentorangefs: remove initialization of i_version (diff)
downloadkernel-296200d3bb649f9646f60abe6e8ebb9fd8d20f4b.tar.gz
kernel-296200d3bb649f9646f60abe6e8ebb9fd8d20f4b.zip
orangefs: use ARRAY_SIZE
Using the ARRAY_SIZE macro improves the readability of the code. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p /sizeof(T)) ) Signed-off-by: Jérémy Lefaure <[email protected]> Signed-off-by: Mike Marshall <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions