remove unnecessary comparison

10 jobs for 171-lgtm-issues in 7 minutes and 8 seconds (queued for 7 seconds)