Remove the redundant function. Bug: 232494666 Test: manual test Change-Id: I1827d39b194048452b71c680e2bbf94e43bfcac5