]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: core: timer: remove redundant assignment
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 2 Sep 2020 21:21:19 +0000 (16:21 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2020 07:25:16 +0000 (09:25 +0200)
commit481adbb06c14d44493f47433f8e28c9e8b8e3fbc
treebf7e09b034a24d55260946260e15536b6c79cd6a
parent25fdd286f0133d520284c2c3746b46e85ede9a3e
ALSA: core: timer: remove redundant assignment

Cppcheck complains about a possible NULL pointer dereference but it
actually looks like the NULL assignment is not needed (same loop is
used in other parts of the file without it).

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200902212133.30964-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c