loop device code: readability improvement
2 files changed