mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
ALSA: mixart: silence an uninitialized variable warning
We could print the uninitialized value of "stat" in the error message. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
447d6275f0
commit
8cf3968ccb
@ -132,7 +132,7 @@ static int mixart_set_pipe_state(struct mixart_mgr *mgr,
|
||||
}
|
||||
|
||||
if(start) {
|
||||
u32 stat;
|
||||
u32 stat = 0;
|
||||
|
||||
group_state.pipe_count = 0; /* in case of start same command once again with pipe_count=0 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user