Skip to content

Commit

Permalink
[PATCH] USBATM: remove .owner
Browse files Browse the repository at this point in the history
Remove the unused .owner field in struct usbatm_driver.

Signed-off-by: Duncan Sands <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
CunningBaldrick authored and gregkh committed Feb 1, 2006
1 parent 35644b0 commit 0dfcd3e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion drivers/usb/atm/cxacru.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,6 @@ static const struct usb_device_id cxacru_usb_ids[] = {
MODULE_DEVICE_TABLE(usb, cxacru_usb_ids);

static struct usbatm_driver cxacru_driver = {
.owner = THIS_MODULE,
.driver_name = cxacru_driver_name,
.bind = cxacru_bind,
.heavy_init = cxacru_heavy_init,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/atm/speedtch.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,6 @@ static void speedtch_unbind(struct usbatm_data *usbatm, struct usb_interface *in
***********/

static struct usbatm_driver speedtch_usbatm_driver = {
.owner = THIS_MODULE,
.driver_name = speedtch_driver_name,
.bind = speedtch_bind,
.heavy_init = speedtch_heavy_init,
Expand Down
3 changes: 1 addition & 2 deletions drivers/usb/atm/ueagle-atm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ static int uea_bind(struct usbatm_data *usbatm, struct usb_interface *intf,
if (ifnum != UEA_INTR_IFACE_NO)
return -ENODEV;

usbatm_instance->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT);
usbatm->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT);

/* interface 1 is for outbound traffic */
ret = claim_interface(usb, usbatm, UEA_US_IFACE_NO);
Expand Down Expand Up @@ -1701,7 +1701,6 @@ static void uea_unbind(struct usbatm_data *usbatm, struct usb_interface *intf)

static struct usbatm_driver uea_usbatm_driver = {
.driver_name = "ueagle-atm",
.owner = THIS_MODULE,
.bind = uea_bind,
.atm_start = uea_atm_open,
.unbind = uea_unbind,
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/atm/usbatm.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ struct usbatm_data;
*/

struct usbatm_driver {
struct module *owner;

const char *driver_name;

/* init device ... can sleep, or cause probe() failure */
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/atm/xusbatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ static int __init xusbatm_init(void)
xusbatm_usb_ids[i].idProduct = product[i];


xusbatm_drivers[i].owner = THIS_MODULE;
xusbatm_drivers[i].driver_name = xusbatm_driver_name;
xusbatm_drivers[i].bind = xusbatm_bind;
xusbatm_drivers[i].unbind = xusbatm_unbind;
Expand Down

0 comments on commit 0dfcd3e

Please sign in to comment.