summaryrefslogtreecommitdiffstats
path: root/net/core/net-traces.c
diff options
context:
space:
mode:
authorHimangi Saraogi2014-07-23 23:16:38 +0200
committerDavid S. Miller2014-07-25 08:31:36 +0200
commit7b18ef08ba58a91bef7149e64443397cfc2523f3 (patch)
treefeff2ea5cbfcd8894697f09e656f55710c24a443 /net/core/net-traces.c
parentcxgb4: Fixed incorrect check for memory operation in t4_memory_rw (diff)
downloadkernel-qcow2-linux-7b18ef08ba58a91bef7149e64443397cfc2523f3.tar.gz
kernel-qcow2-linux-7b18ef08ba58a91bef7149e64443397cfc2523f3.tar.xz
kernel-qcow2-linux-7b18ef08ba58a91bef7149e64443397cfc2523f3.zip
isdn: use constants instead of magicnumbers
This patch changes instances of magic numbers like 4 and 8 to equivalent constants. The Coccinelle semantic patch used for making the change is as follows: // <smpl> @r@ type T; T E; identifier fld; identifier c; @@ E->fld & c @s@ constant C; identifier r.c; @@ #define c C @@ r.T E; identifier r.fld; identifier r.c; constant s.C; @@ E->fld & - C + c // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-traces.c')
0 files changed, 0 insertions, 0 deletions