Revert D24925955: Fix "pointless comparison" warning
Test Plan: revert-hammer
Differential Revision:
D24925955 (https://github.com/pytorch/pytorch/commit/a03f05f2a28ee9516a26bab8e41351aeeb3a4d76)
Original commit changeset: 56bcf32aeb16
fbshipit-source-id: f7bea36e5b23f254381a3cc655cb199a106cc62c