summaryrefslogtreecommitdiffstats
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2018-05-21 08:58:48 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-05-22 16:00:23 +0200
commit32d0572a75c81a2c70394f9e110ca080b9a733b1 (patch)
treee6355b35da23d5818cac3691463a9d32c04d00b4 /drivers/base/dd.c
parentpowerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected (diff)
downloadlinux-32d0572a75c81a2c70394f9e110ca080b9a733b1.tar.xz
linux-32d0572a75c81a2c70394f9e110ca080b9a733b1.zip
coccinelle: mini_lock: improve performance
Replace <+... ...+> by ... when any. <+... ...+> is slow, and in some obscure cases involving backward jumps it doesn't force the unlock to actually come after the end of the if. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/base/dd.c')
0 files changed, 0 insertions, 0 deletions