usb: host: ehci-spear: Remove redundant checks
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 23 May 2013 03:53:00 +0000 (09:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:32:53 +0000 (21:32 +0900)
commit70de8f3ef06e8e33826d052f9b4a92ff6678899f
tree5d9446c4d0494a63644c7a48d01497e29973f467
parent16520a2cb2bbf0272d457a3c304759f4172d573c
usb: host: ehci-spear: Remove redundant checks

'hcd' can never be NULL and the spear_ehci_hcd_drv_remove routine
will never be called in_interrupt. Hence remove these checks.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-spear.c