A short note on an integral inequality