Small code cleanup in LMR