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

mmc: vub300: remove unreachable return value handling

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Nicholas Mc Guire and committed by
Ulf Hansson
6bb836d6 fe821915

+1 -3
+1 -3
drivers/mmc/host/vub300.c
··· 659 659 static void __do_poll(struct vub300_mmc_host *vub300) 660 660 { 661 661 /* cmd_mutex is held by vub300_pollwork_thread */ 662 - long commretval; 662 + unsigned long commretval; 663 663 mod_timer(&vub300->inactivity_timer, jiffies + HZ); 664 664 init_completion(&vub300->irqpoll_complete); 665 665 send_irqpoll(vub300); ··· 671 671 vub300->usb_timed_out = 1; 672 672 usb_kill_urb(vub300->command_out_urb); 673 673 usb_kill_urb(vub300->command_res_urb); 674 - } else if (commretval < 0) { 675 - vub300_queue_poll_work(vub300, 1); 676 674 } else { /* commretval > 0 */ 677 675 __vub300_irqpoll_response(vub300); 678 676 }