Inline redundant variable

variable 'reg' is redundant; inlined.