From a53613a67e17e5cd29963496ad249cc419688c5d Mon Sep 17 00:00:00 2001 From: Rickard Strandqvist Date: Wed, 25 Jun 2014 14:18:24 +0200 Subject: 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 Signed-off-by: Takashi Iwai --- sound/oss/mpu401.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sound/oss') 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) -- cgit v1.2.3-59-g8ed1b