remove redundant variable declaration

Signed-off-by:  <st9fan@gmail.com>
(cherry picked from commit 1cc60524fa0a8caa93050db467d7678d685ad030)
Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>