client: remove redundant variables