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 /drivers/usb/core | |
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 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/devio.c | 1 | ||||
-rw-r--r-- | drivers/usb/core/hub.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index b1d6e9af732d..3a73170e95dd 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
@@ -402,7 +402,6 @@ static void driver_disconnect(struct usb_interface *intf) | |||
402 | } | 402 | } |
403 | 403 | ||
404 | struct usb_driver usbfs_driver = { | 404 | struct usb_driver usbfs_driver = { |
405 | .owner = THIS_MODULE, | ||
406 | .name = "usbfs", | 405 | .name = "usbfs", |
407 | .probe = driver_probe, | 406 | .probe = driver_probe, |
408 | .disconnect = driver_disconnect, | 407 | .disconnect = driver_disconnect, |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 5faf7edd73cb..40c6c50c6bd9 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -2865,7 +2865,6 @@ static struct usb_device_id hub_id_table [] = { | |||
2865 | MODULE_DEVICE_TABLE (usb, hub_id_table); | 2865 | MODULE_DEVICE_TABLE (usb, hub_id_table); |
2866 | 2866 | ||
2867 | static struct usb_driver hub_driver = { | 2867 | static struct usb_driver hub_driver = { |
2868 | .owner = THIS_MODULE, | ||
2869 | .name = "hub", | 2868 | .name = "hub", |
2870 | .probe = hub_probe, | 2869 | .probe = hub_probe, |
2871 | .disconnect = hub_disconnect, | 2870 | .disconnect = hub_disconnect, |