remove unused params in scalar_tensor_static (#48550)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/48550
Test Plan: Imported from OSS
Reviewed By: Chillee
Differential Revision: D25229765
Pulled By: bhosmer
fbshipit-source-id: 220b0b4a85a3d83d947960851a7369f654b8b455