Note on Mathieu's inequality