There is currently an open roster spot. When Mobley retired for medical reasons, he vacated his roster spot. His salary for this year and next, however, still counts against the Knicks' cap.
The trade exception that the Knicks did not get would have permitted them to sign a "replacement" player for one half of his annual salary --$4.45M. They did not get the exception, but Mobley is not on the roster.