There is no relationship between the amount of time spent on homework and better grades, a study found.