USB: Remove unsupported usb gadget drivers
[pandora-kernel.git] / drivers / usb / gadget / f_acm.c
index d10353d..e49c732 100644 (file)
@@ -702,14 +702,6 @@ acm_unbind(struct usb_configuration *c, struct usb_function *f)
 /* Some controllers can't support CDC ACM ... */
 static inline bool can_support_cdc(struct usb_configuration *c)
 {
-       /* SH3 doesn't support multiple interfaces */
-       if (gadget_is_sh(c->cdev->gadget))
-               return false;
-
-       /* sa1100 doesn't have a third interrupt endpoint */
-       if (gadget_is_sa1100(c->cdev->gadget))
-               return false;
-
        /* everything else is *probably* fine ... */
        return true;
 }