common: simplify gauge logic

removed useless if statement

Acked-by: Gerd Behrmann
Acked-by: Karsten Schwank
Target: master
Require-book: no
Require-notes: no