]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: EHCI: don't refcount QHs
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 11 Jul 2012 15:21:25 +0000 (11:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 23:50:13 +0000 (16:50 -0700)
commitc83e1a9ff68a6535b81c40dc8fda99348ab480fb
treefea3bfe22caed0144933c8b065f2bf16937fd8fb
parent15be105b4a18c461b95fa683907f6da6deae1b75
USB: EHCI: don't refcount QHs

This patch (as1567) removes ehci-hcd's reference counting of QH
structures.  It's not necessary to refcount these things because they
always get deallocated at exactly one spot in ehci_endpoint_disable()
(except for two special QHs, ehci->async and ehci->dummy) and are
never used again.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-mem.c
drivers/usb/host/ehci-q.c
drivers/usb/host/ehci-sched.c
drivers/usb/host/ehci.h