sndiod: Remove useless check of s->ops in slot_setvol().

This commit is contained in:
Alexandre Ratchov 2018-06-11 19:53:27 +02:00
parent 293d7047bd
commit 84ec0ebd8c
1 changed files with 0 additions and 2 deletions

View File

@ -1738,8 +1738,6 @@ slot_setvol(struct slot *s, unsigned int vol)
}
#endif
s->vol = vol;
if (s->ops == NULL)
return;
s->mix.vol = MIDI_TO_ADATA(s->vol);
}