The SL(2,C)-character varieties of torus knots