GRIM/EMI: fix compiler warning

- remove unused variable