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/asihpi/hpifunc.c | |
parent | f3f6c61452e28ffdf93b101555546af8ef63def5 (diff) | |
download | linux-stable-44cc4a017e2df87f25765ac270f3f64efc6b06ef.tar.gz linux-stable-44cc4a017e2df87f25765ac270f3f64efc6b06ef.tar.bz2 linux-stable-44cc4a017e2df87f25765ac270f3f64efc6b06ef.zip |
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/asihpi/hpifunc.c')
-rw-r--r-- | sound/pci/asihpi/hpifunc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sound/pci/asihpi/hpifunc.c b/sound/pci/asihpi/hpifunc.c index 510e56cffd31..f9b57647b319 100644 --- a/sound/pci/asihpi/hpifunc.c +++ b/sound/pci/asihpi/hpifunc.c @@ -2323,11 +2323,8 @@ u16 hpi_sample_clock_get_source_index(u32 h_control, u16 *pw_source_index) u16 hpi_sample_clock_query_local_rate(const u32 h_clock, const u32 index, u32 *prate) { - u16 err; - err = hpi_control_query(h_clock, HPI_SAMPLECLOCK_LOCAL_SAMPLERATE, - index, 0, prate); - - return err; + return hpi_control_query(h_clock, HPI_SAMPLECLOCK_LOCAL_SAMPLERATE, + index, 0, prate); } u16 hpi_sample_clock_set_local_rate(u32 h_control, u32 sample_rate) |