--- zzzz-none-000/linux-3.10.107/sound/oss/mpu401.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/sound/oss/mpu401.c 2021-02-04 17:41:59.000000000 +0000 @@ -316,6 +316,7 @@ case 0xf6: /* printk( "tune_request\n"); */ devc->m_state = ST_INIT; + break; /* * Real time messages @@ -567,7 +568,6 @@ static int mpu401_command(int dev, mpu_command_rec * cmd) { int i, timeout, ok; - int ret = 0; unsigned long flags; struct mpu_config *devc; @@ -644,7 +644,6 @@ } } } - ret = 0; cmd->data[0] = 0; if (cmd->nr_returns) @@ -666,7 +665,7 @@ } } spin_unlock_irqrestore(&devc->lock,flags); - return ret; + return 0; } static int mpu_cmd(int dev, int cmd, int data) @@ -974,7 +973,6 @@ 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)