[PATCH 20/24] qconfig: Move the last two operations into their own functions