Bitwise boolean comparison not necessary

Signed-off-by: emanuele <emanuele45@gmail.com>