diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-06 13:41:19 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-07 20:35:29 +0200 |
commit | 44cc4a017e2df87f25765ac270f3f64efc6b06ef (patch) | |
tree | ad55e8dffc16bc00492aab005320c870c22f384f /sound/soc/intel/baytrail | |
parent | ALSA: pcm: Fix avail to return error if stream is suspended (diff) | |
download | linux-44cc4a017e2df87f25765ac270f3f64efc6b06ef.tar.xz linux-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/soc/intel/baytrail')
-rw-r--r-- | sound/soc/intel/baytrail/sst-baytrail-ipc.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.c b/sound/soc/intel/baytrail/sst-baytrail-ipc.c index 5bbaa667bec1..c8455b47388b 100644 --- a/sound/soc/intel/baytrail/sst-baytrail-ipc.c +++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.c @@ -184,15 +184,9 @@ struct sst_byt { static inline u64 sst_byt_header(int msg_id, int data, bool large, int str_id) { - u64 header; - - header = IPC_HEADER_MSG_ID(msg_id) | - IPC_HEADER_STR_ID(str_id) | - IPC_HEADER_LARGE(large) | - IPC_HEADER_DATA(data) | - SST_BYT_IPCX_BUSY; - - return header; + return IPC_HEADER_MSG_ID(msg_id) | IPC_HEADER_STR_ID(str_id) | + IPC_HEADER_LARGE(large) | IPC_HEADER_DATA(data) | + SST_BYT_IPCX_BUSY; } static inline u16 sst_byt_header_msg_id(u64 header) |