The vast majority of commercial banks and savings institutions that do mortgage banking – either directly or through a subsidiary – generated a profit from the business during the third quarter, according to a new analysis by Inside Mortgage Trends of bank call reports.