Skip to content
Commit 54dcf0ce authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by David S. Miller
Browse files

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: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 57a4a3d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment