summaryrefslogtreecommitdiffstats
path: root/drivers/staging/goldfish
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2018-06-07 01:34:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-17 09:05:14 +0200
commit5df204016c36a175829e6579f01244a8e2351480 (patch)
tree2a14972fd22eb070f558138aa6bd03401b086f9e /drivers/staging/goldfish
parent91c458b435df86d733754b3d50d8a5d1848c51dc (diff)
downloadlinux-5df204016c36a175829e6579f01244a8e2351480.tar.bz2
staging: rtl8723bs: drop test
The test selects between two identical values, so it doesn't look useful. It turns out that the tested expression can only be true anyway, so drop the test, the corresponding parameter, and the corresponding argument at the only call site. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression e,e1; @@ * e ? e1 : e1 // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/goldfish')
0 files changed, 0 insertions, 0 deletions