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>
This commit is contained in:
Masahiro Yamada
2016-09-06 20:41:19 +09:00
committato da Takashi Iwai
parent f3f6c61452
commit 44cc4a017e
7 ha cambiato i file con 13 aggiunte e 43 eliminazioni

Vedi File

@@ -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)