Wholesale mortgage division shuts down permanently