ALSA: usb-audio: Clean up the code in set_sample_rate_v2()
authorTakashi Iwai <tiwai@suse.de>
Wed, 3 Apr 2013 17:08:29 +0000 (19:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Apr 2013 17:08:29 +0000 (19:08 +0200)
commit7c51746517e46806c59da6d780e7a14e8ae2bf78
tree2bf23205e1d0557b623bff95e6a86ef80d443dc0
parentefc33ce197e4b6aaddf1eb2ba6293f51daf3c283
ALSA: usb-audio: Clean up the code in set_sample_rate_v2()

Just for cleaning up, introduce a new function get_sample_rate_v2()
for replacing two identical calls in set_sample_rate_v2().

No functional change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c