Red Line Indicator in Pose Mode
It's probably because when you assigned it an IK, you also gave it a rotation limit, you'll find it in the Properties panel > Bone > Inverse Kinematics. As you can see if the Limit X rotation box is still activated, it is just greyed because the bone doesn't have any IK constraint anymore, and the red line still appears on the 3D view.