--- zzzz-none-000/linux-3.10.107/sound/pci/trident/trident_memory.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/sound/pci/trident/trident_memory.c 2021-02-04 17:41:59.000000000 +0000 @@ -23,7 +23,7 @@ * */ -#include +#include #include #include #include @@ -139,12 +139,11 @@ static struct snd_util_memblk * search_empty(struct snd_util_memhdr *hdr, int size) { - struct snd_util_memblk *blk, *prev; + struct snd_util_memblk *blk; int page, psize; struct list_head *p; psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); - prev = NULL; page = 0; list_for_each(p, &hdr->block) { blk = list_entry(p, struct snd_util_memblk, list);