Commit 11f17ef3 authored by Oliver Neukum's avatar Oliver Neukum Committed by David S. Miller

usbnet: rename work handler

"kevent" is an extremely generic name that causes trouble
if debugging for work queues is used. So change it to
something clear.
Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27015f8c
...@@ -1072,7 +1072,7 @@ static void __handle_set_rx_mode(struct usbnet *dev) ...@@ -1072,7 +1072,7 @@ static void __handle_set_rx_mode(struct usbnet *dev)
* especially now that control transfers can be queued. * especially now that control transfers can be queued.
*/ */
static void static void
kevent (struct work_struct *work) usbnet_deferred_kevent (struct work_struct *work)
{ {
struct usbnet *dev = struct usbnet *dev =
container_of(work, struct usbnet, kevent); container_of(work, struct usbnet, kevent);
...@@ -1626,7 +1626,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) ...@@ -1626,7 +1626,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
skb_queue_head_init(&dev->rxq_pause); skb_queue_head_init(&dev->rxq_pause);
dev->bh.func = usbnet_bh; dev->bh.func = usbnet_bh;
dev->bh.data = (unsigned long) dev; dev->bh.data = (unsigned long) dev;
INIT_WORK (&dev->kevent, kevent); INIT_WORK (&dev->kevent, usbnet_deferred_kevent);
init_usb_anchor(&dev->deferred); init_usb_anchor(&dev->deferred);
dev->delay.function = usbnet_bh; dev->delay.function = usbnet_bh;
dev->delay.data = (unsigned long) dev; dev->delay.data = (unsigned long) dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment