greybus: initialize svc connection while creating hd
[linux-2.6-microblaze.git] / drivers / staging / greybus / es2.c
index d2c054a..558345c 100644 (file)
@@ -663,12 +663,6 @@ static int ap_probe(struct usb_interface *interface,
                return PTR_ERR(hd);
        }
 
-       /* Initialize AP's greybus interface */
-       if (!gb_ap_svc_connection_create(hd)) {
-               retval = -EINVAL;
-               goto error;
-       }
-
        es1 = hd_to_es1(hd);
        es1->hd = hd;
        es1->usb_intf = interface;