summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/manpage-1.72.xsl
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-07-27 22:38:52 +0400
committerDavid S. Miller <davem@davemloft.net>2009-07-27 22:38:52 +0400
commit6cf5767c7107c606644503f3e95bc1855386a70f (patch)
treec4aa30d4b43668fbbb9114b07909028bc61ef528 /tools/perf/Documentation/manpage-1.72.xsl
parenta44a4a006b860476881ec0098c36584036e1cb91 (diff)
downloadlinux-6cf5767c7107c606644503f3e95bc1855386a70f.tar.xz
drivers/atm: Correct redundant test
str has already been tested. It seems that this test should be on the recently returned value snr. A simplified version of the semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression x; expression E; @@ if (x == NULL || ...) { ... when forall return ...; } ... when != \(x=E\|x--\|x++\|--x\|++x\|x-=E\|x+=E\|x|=E\|x&=E\|&x\) ( *x == NULL | *x != NULL ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/Documentation/manpage-1.72.xsl')
0 files changed, 0 insertions, 0 deletions