fix: remove duplicate function

Change-Id: I3ee84bbff703b221f67471b8ccc3e9b0587a8c3a