usb: musb: drop a gigantic amount of ifdeferry
[firefly-linux-kernel-4.4.55.git] / drivers / usb / musb / musb_host.h
index 14b00776638dab987c233d72b9b66da462214e90..622d09fb9abadbdd8fb8d43baa425e034499641d 100644 (file)
@@ -95,7 +95,6 @@ extern const struct hc_driver musb_hc_driver;
 
 static inline struct urb *next_urb(struct musb_qh *qh)
 {
-#ifdef CONFIG_USB_MUSB_HDRC_HCD
        struct list_head        *queue;
 
        if (!qh)
@@ -104,9 +103,6 @@ static inline struct urb *next_urb(struct musb_qh *qh)
        if (list_empty(queue))
                return NULL;
        return list_entry(queue->next, struct urb, urb_list);
-#else
-       return NULL;
-#endif
 }
 
 #endif                         /* _MUSB_HOST_H */