diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-06 20:41:19 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-07 20:35:29 +0200 |
commit | 44cc4a017e2df87f25765ac270f3f64efc6b06ef (patch) | |
tree | ad55e8dffc16bc00492aab005320c870c22f384f /sound/pci/ice1712 | |
parent | f3f6c61452e28ffdf93b101555546af8ef63def5 (diff) |
ALSA: squash lines for simple wrapper functions
Remove unneeded variables and assignments.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index cd68114444a1..e5c52ed9b674 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c @@ -620,9 +620,7 @@ static const unsigned int stdclock_rate_list[16] = { static unsigned int stdclock_get_rate(struct snd_ice1712 *ice) { - unsigned int rate; - rate = stdclock_rate_list[inb(ICEMT1724(ice, RATE)) & 15]; - return rate; + return stdclock_rate_list[inb(ICEMT1724(ice, RATE)) & 15]; } static void stdclock_set_rate(struct snd_ice1712 *ice, unsigned int rate) |