]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: snd_interval_step: drop the min parameter
authorClemens Ladisch <clemens@ladisch.de>
Sun, 7 Sep 2014 19:43:07 +0000 (21:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Sep 2014 08:54:18 +0000 (10:54 +0200)
commitd78209ae5d553e2e3ad2cdb26fe32ba362ec0b12
tree08047b74f8082d6b3ee1b041b5e9950b2a1c6a0b
parent8f9e1235e9a5be64a6f5330a335b601bfb308b32
ALSA: pcm: snd_interval_step: drop the min parameter

The min parameter was not used by any caller.  And if it were used,
underflows in the calculations could lead to incorrect results.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c