[PATCH] tools: Remove unnecessary condition check