Whether a frictionless pulley is useless or not depends largely upon whether you are using it to change the direction of the line, adding tension to it, or using it to perform work. Such a pulley is only useless for the latter, such as a belt turning a drum, but a frictionless block and tackle or tensioning pulley would be incredibly useful.