diff options
author | Greg Kroah-Hartman | 2005-11-21 14:53:03 -0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2006-01-04 13:48:34 -0800 |
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) } struct usb_driver usbfs_driver = { - .owner = THIS_MODULE, .name = "usbfs", .probe = driver_probe, .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 [] = { MODULE_DEVICE_TABLE (usb, hub_id_table); static struct usb_driver hub_driver = { - .owner = THIS_MODULE, .name = "hub", .probe = hub_probe, .disconnect = hub_disconnect, |