diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-21 17:53:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:48:34 -0500 |
commit | 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 (patch) | |
tree | 13098167bd41d7dd0b0d3f678534a6daa29b4005 /include | |
parent | 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 (diff) |
[PATCH] USB: remove .owner field from struct usb_driver
It is no longer needed, so let's remove it, saving a bit of memory.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 3d05c63451a8..2714814ab66c 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -536,8 +536,6 @@ struct usb_dynids { | |||
536 | 536 | ||
537 | /** | 537 | /** |
538 | * struct usb_driver - identifies USB driver to usbcore | 538 | * struct usb_driver - identifies USB driver to usbcore |
539 | * @owner: Pointer to the module owner of this driver; initialize | ||
540 | * it using THIS_MODULE. | ||
541 | * @name: The driver name should be unique among USB drivers, | 539 | * @name: The driver name should be unique among USB drivers, |
542 | * and should normally be the same as the module name. | 540 | * and should normally be the same as the module name. |
543 | * @probe: Called to see if the driver is willing to manage a particular | 541 | * @probe: Called to see if the driver is willing to manage a particular |
@@ -580,8 +578,6 @@ struct usb_dynids { | |||
580 | * them as necessary, and blocking until the unlinks complete). | 578 | * them as necessary, and blocking until the unlinks complete). |
581 | */ | 579 | */ |
582 | struct usb_driver { | 580 | struct usb_driver { |
583 | struct module *owner; | ||
584 | |||
585 | const char *name; | 581 | const char *name; |
586 | 582 | ||
587 | int (*probe) (struct usb_interface *intf, | 583 | int (*probe) (struct usb_interface *intf, |