From: Takashi Iwai Date: Thu, 23 Jan 2014 10:02:15 +0000 (+0100) Subject: ALSA: Refactor slot assignment code X-Git-Tag: v3.14-rc1~16^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deb6596f163b7340ff8f5a7c23e25317e165c669;p=pandora-kernel.git ALSA: Refactor slot assignment code There are two loops that are almost identical but only with different checks. Refactor them with a simple helper, and give a bit more comments what's doing there. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed