summaryrefslogtreecommitdiffstats
path: root/drivers/spi/amba-pl022.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-09-29 17:31:29 +0900
committerGrant Likely <grant.likely@secretlab.ca>2010-09-29 17:31:29 +0900
commite447d3588e1c5944f607083cb509663f8015d420 (patch)
tree66e90d9ec1e6579f8e014384664791dfeb2d6cca /drivers/spi/amba-pl022.c
parent079a176d87a4da4cb18864c54d3932131e11e229 (diff)
downloadop-kernel-dev-e447d3588e1c5944f607083cb509663f8015d420.zip
op-kernel-dev-e447d3588e1c5944f607083cb509663f8015d420.tar.gz
spi/orion: Drop unnecessary null test
list_for_each_entry binds its first argument to a non-null value, and thus any null test on the value of that argument is superfluous. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ iterator I; expression x,E; @@ I(x,...) { <... - (x != NULL) && E ...> } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/amba-pl022.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud