Do not initialize twice the variable 'shift'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>