small cleanups (#59810)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59810
Rephrasings and cleanup of dead code
Test Plan: Imported from OSS
Reviewed By: pbelevich, zhxchen17
Differential Revision: D30200062
Pulled By: eellison
fbshipit-source-id: b03e5adb928aa46bee6685667cad43333b6e6016