diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-06 07:41:19 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-07 14:35:29 -0400 |
commit | 44cc4a017e2df87f25765ac270f3f64efc6b06ef (patch) | |
tree | ad55e8dffc16bc00492aab005320c870c22f384f /sound/soc/intel | |
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/soc/intel')
-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 { | |||
184 | 184 | ||
185 | static inline u64 sst_byt_header(int msg_id, int data, bool large, int str_id) | 185 | static inline u64 sst_byt_header(int msg_id, int data, bool large, int str_id) |
186 | { | 186 | { |
187 | u64 header; | 187 | return IPC_HEADER_MSG_ID(msg_id) | IPC_HEADER_STR_ID(str_id) | |
188 | 188 | IPC_HEADER_LARGE(large) | IPC_HEADER_DATA(data) | | |
189 | header = IPC_HEADER_MSG_ID(msg_id) | | 189 | SST_BYT_IPCX_BUSY; |
190 | IPC_HEADER_STR_ID(str_id) | | ||
191 | IPC_HEADER_LARGE(large) | | ||
192 | IPC_HEADER_DATA(data) | | ||
193 | SST_BYT_IPCX_BUSY; | ||
194 | |||
195 | return header; | ||
196 | } | 190 | } |
197 | 191 | ||
198 | static inline u16 sst_byt_header_msg_id(u64 header) | 192 | static inline u16 sst_byt_header_msg_id(u64 header) |