drivers/sbus/char: Micro-optimization in display7seg.c
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 19 Jun 2014 12:31:52 +0000 (14:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jul 2014 04:37:05 +0000 (21:37 -0700)
commit54dcf0ceb8a21a898cd436617483e5646f2edcc6
treebf1bfe0d48cb9858987ee54f36270ae23a9bba40
parent57a4a3d7f7568c487d5db3e26540bff958000255
drivers/sbus/char: Micro-optimization in display7seg.c

Flipping a bit doesn't need four lines of code; and gcc seems to
actually generate two branches.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/display7seg.c