Kernel: remove unused variable

Signed-off-by: Eduardo Silva <edsiper@gmail.com>