USB: gadget: android: Remove unused function android_usb_set_connected()

Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood
2010-06-28 15:29:00 -04:00
committed by Colin Cross
parent 136826b4f1
commit d620052f3e
2 changed files with 0 additions and 12 deletions

View File

@@ -110,16 +110,6 @@ static struct usb_device_descriptor device_desc = {
static struct list_head _functions = LIST_HEAD_INIT(_functions);
static int _registered_function_count = 0;
void android_usb_set_connected(int connected)
{
if (_android_dev && _android_dev->cdev && _android_dev->cdev->gadget) {
if (connected)
usb_gadget_connect(_android_dev->cdev->gadget);
else
usb_gadget_disconnect(_android_dev->cdev->gadget);
}
}
static struct android_usb_function *get_function(const char *name)
{
struct android_usb_function *f;

View File

@@ -88,8 +88,6 @@ struct usb_ether_platform_data {
const char *vendorDescr;
};
extern void android_usb_set_connected(int on);
extern void android_register_function(struct android_usb_function *f);
extern void android_enable_function(struct usb_function *f, int enable);