Remove dead code in SavedVariable (#59838)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59838
Test Plan: Imported from OSS
Reviewed By: soulitzer
Differential Revision: D29069214
fbshipit-source-id: 5debf93a6c3d1c3d585efbe54438e8df92646d62