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:

committato da
Takashi Iwai

parent
f3f6c61452
commit
44cc4a017e
@@ -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)
|
||||
|
Fai riferimento in un nuovo problema
Block a user