chore(trasnsporter): delete unused variables

just return directly instead of creating intermediate variables