summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorStephen Hemminger2010-10-29 17:04:18 +0200
committerStephen Hemminger2010-10-30 05:43:37 +0200
commit047a5f2b503d0ba17704c9714b296cbf06ec087e (patch)
treeacebf4c0f209f072b84f4f4d10aecacb8564cb69 /drivers/staging/bcm
parentbeceem: remove version ifdef's (diff)
downloadkernel-qcow2-linux-047a5f2b503d0ba17704c9714b296cbf06ec087e.tar.gz
kernel-qcow2-linux-047a5f2b503d0ba17704c9714b296cbf06ec087e.tar.xz
kernel-qcow2-linux-047a5f2b503d0ba17704c9714b296cbf06ec087e.zip
beceem: eliminate unused USB stubs
USB layer does not require these reset function stubs Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/InterfaceInit.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/bcm/InterfaceInit.c b/drivers/staging/bcm/InterfaceInit.c
index e6d1dc0d3e43..958d16ad5289 100644
--- a/drivers/staging/bcm/InterfaceInit.c
+++ b/drivers/staging/bcm/InterfaceInit.c
@@ -814,25 +814,12 @@ static int InterfaceResume (struct usb_interface *intf)
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 = {
.name = "usbbcm",
.probe = usbbcm_device_probe,
.disconnect = usbbcm_disconnect,
.suspend = InterfaceSuspend,
.resume = InterfaceResume,
- .pre_reset=InterfacePreReset,
- .post_reset=InterfacePostReset,
.id_table = InterfaceUsbtable,
.supports_autosuspend = 1,
};