Your Pokemon will not try to learn the move if it has already learnt it. You can't have two of the same move, so the game simply doesn't give you the option.