]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/core/pcm_lib.c
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)
commit0f519b622151339b7754d0406ddc40940063572a
tree08047b74f8082d6b3ee1b041b5e9950b2a1c6a0b
parentd89c6c0c91af0344b52dd21ca48dd29821fee677
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