remove unused typedef to avoid compiler warning and keep code clean.

this PR removes an unused typedef.