Minnesota Vikings quarterback J.J. McCarthy had an injection in his right knee earlier this week to alleviate swelling that arose during his rehabilitation program, coach Kevin O’Connell said Wednesday.