def METHOD_NAME(request, equivalent_id):
    """
    Instructors view to remove teaching equivalent
    """
    instructor = get_object_or_404(Person, userid=request.user.username)
    if request.method != 'POST':
        raise Http404
    equivalent = get_object_or_404(TeachingEquivalent, pk=equivalent_id, instructor=instructor, status='UNCO')
    equivalent.delete()
    messages.add_message(request, messages.SUCCESS, "Teaching Equivalent successfully removed")
    return HttpResponseRedirect(reverse('planning.views.view_teaching_credits_inst'))