ALSA: pcm: Use krealloc() for resizing the rules array
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2018 10:31:25 +0000 (11:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2018 14:37:58 +0000 (15:37 +0100)
commit09b9ddfaa18317f463085d602cf5f60a5fa88665
tree0a3d697519ee40efce1ba0e46f591bbdc2c03377
parent5730f9f744cfe20b771adc33f3b476b95d3eebba
ALSA: pcm: Use krealloc() for resizing the rules array

Just a minor simplification.  Change from kcalloc() shouldn't matter
as each array element is fully initialized.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c