[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201103120310.GD18329@kadam>
Date: Tue, 3 Nov 2020 15:03:10 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: kbuild@...ts.01.org, Yu Hao <yuhaobehappy@...il.com>,
perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org
Cc: lkp@...el.com, kbuild-all@...ts.01.org, yuhaobehappy@...il.com,
linux-kernel@...r.kernel.org
Subject: [kbuild] Re: [PATCH] sound/core/seq: remove dead code
Hi Yu,
url: https://github.com/0day-ci/linux/commits/Yu-Hao/sound-core-seq-remove-dead-code/20201102-152326
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
compiler: sparc64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> sound/core/seq/seq_queue.c:545:16: warning: Unused variable: flags [unusedVariable]
unsigned long flags;
^
vim +545 sound/core/seq/seq_queue.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 543 void snd_seq_queue_client_termination(int client)
^1da177e4c3f415 Linus Torvalds 2005-04-16 544 {
^1da177e4c3f415 Linus Torvalds 2005-04-16 @545 unsigned long flags;
^^^^^^^^^^^^^^^^^^^
Unused.
^1da177e4c3f415 Linus Torvalds 2005-04-16 546 int i;
c7e0b5bf9fff1b7 Takashi Iwai 2005-11-17 547 struct snd_seq_queue *q;
^1da177e4c3f415 Linus Torvalds 2005-04-16 548
^1da177e4c3f415 Linus Torvalds 2005-04-16 549 for (i = 0; i < SNDRV_SEQ_MAX_QUEUES; i++) {
^1da177e4c3f415 Linus Torvalds 2005-04-16 550 if ((q = queueptr(i)) == NULL)
^1da177e4c3f415 Linus Torvalds 2005-04-16 551 continue;
^1da177e4c3f415 Linus Torvalds 2005-04-16 552 queuefree(q);
^1da177e4c3f415 Linus Torvalds 2005-04-16 553 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 554 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild@...ts.01.org
To unsubscribe send an email to kbuild-leave@...ts.01.org
Powered by blists - more mailing lists