Remove superfluous variable assignment