chore(kernel/metavar): remove unused function

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
chore(kernel/metavar): remove unused function