core: remove unused variable

Change-Id: I9f50f2e1d8948abbde6353482ac685e570e92686
Signed-off-by: Gilad Chaplik <gchaplik@redhat.com>