remove unnecessary typedef