diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-06-25 14:18:24 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-25 14:32:03 +0200 |
commit | a53613a67e17e5cd29963496ad249cc419688c5d (patch) | |
tree | 1a95e873e4481c270d9203b8ce37beae7385535a /sound | |
parent | sound: oss: mpu401.c: Cleaning up missing break in a case (diff) | |
download | linux-a53613a67e17e5cd29963496ad249cc419688c5d.tar.xz linux-a53613a67e17e5cd29963496ad249cc419688c5d.zip |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/oss/mpu401.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/oss/mpu401.c b/sound/oss/mpu401.c index f1c1dc3ada25..862735005b43 100644 --- a/sound/oss/mpu401.c +++ b/sound/oss/mpu401.c @@ -973,7 +973,6 @@ int attach_mpu401(struct address_info *hw_config, struct module *owner) devc->m_busy = 0; devc->m_state = ST_INIT; devc->shared_irq = hw_config->always_detect; - devc->irq = hw_config->irq; spin_lock_init(&devc->lock); if (devc->irq < 0) |