A note on Hardy’s inequality