chore(kernel/metavar): remove unused function

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>