Commit 047a5f2b authored by Stephen Hemminger's avatar Stephen Hemminger

beceem: eliminate unused USB stubs

USB layer does not require these reset function stubs
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
parent 5abe61ad
...@@ -814,25 +814,12 @@ static int InterfaceResume (struct usb_interface *intf) ...@@ -814,25 +814,12 @@ static int InterfaceResume (struct usb_interface *intf)
return 0; return 0;
} }
static int InterfacePreReset(struct usb_interface *intf)
{
printk("====================>");
return STATUS_SUCCESS;
}
static int InterfacePostReset(struct usb_interface *intf)
{
printk("Do Post chip reset setting here if it is required");
return STATUS_SUCCESS;
}
static struct usb_driver usbbcm_driver = { static struct usb_driver usbbcm_driver = {
.name = "usbbcm", .name = "usbbcm",
.probe = usbbcm_device_probe, .probe = usbbcm_device_probe,
.disconnect = usbbcm_disconnect, .disconnect = usbbcm_disconnect,
.suspend = InterfaceSuspend, .suspend = InterfaceSuspend,
.resume = InterfaceResume, .resume = InterfaceResume,
.pre_reset=InterfacePreReset,
.post_reset=InterfacePostReset,
.id_table = InterfaceUsbtable, .id_table = InterfaceUsbtable,
.supports_autosuspend = 1, .supports_autosuspend = 1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment