Despite declining volume and the rollercoaster of hedge accounting, most banks turned in positive results on their mortgage-banking activities in 2017, according to a new Inside Mortgage Trends analysis of fourth-quarter earnings reports from publicly-held companies.