Remove redundant checks

Signed-off-by: nixnodes <code@eth.si>