intellidemand: code clean up when LMF is disabled

Signed-off-by: Paul Reioux <reioux@gmail.com>