Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sound: oss: mpu401.c: Cleaning up variable is set more than once

A struct member variable is set to the same value more than once

This was found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Rickard Strandqvist and committed by
Takashi Iwai
a53613a6 21d7216c

-1
-1
sound/oss/mpu401.c
··· 973 973 devc->m_busy = 0; 974 974 devc->m_state = ST_INIT; 975 975 devc->shared_irq = hw_config->always_detect; 976 - devc->irq = hw_config->irq; 977 976 spin_lock_init(&devc->lock); 978 977 979 978 if (devc->irq < 0)