Remove unnecessary inline, and ignore inline attribute when comparing