aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_usb.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@suse.cz>2008-04-19 21:17:26 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-19 21:17:26 -0400
commitd129f188abf14bbc13816667e4c0d465aac2c934 (patch)
tree293761e91e3f1f17b85ed9530e8ed37ea35fef99 /drivers/bluetooth/hci_usb.h
parentb132fba18bb5e30ed13ce3c623c18eb1e5795534 (diff)
hci_usb: remove code obfuscation
_urb_free is an alias for kfree... making code longer & harder to read. Remove it. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/hci_usb.h')
-rw-r--r--drivers/bluetooth/hci_usb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/bluetooth/hci_usb.h b/drivers/bluetooth/hci_usb.h
index 56cd3a92ceca..414080a4e8ff 100644
--- a/drivers/bluetooth/hci_usb.h
+++ b/drivers/bluetooth/hci_usb.h
@@ -60,11 +60,6 @@ struct _urb {
60 struct urb urb; 60 struct urb urb;
61}; 61};
62 62
63static inline void _urb_free(struct _urb *_urb)
64{
65 kfree(_urb);
66}
67
68static inline void _urb_queue_init(struct _urb_queue *q) 63static inline void _urb_queue_init(struct _urb_queue *q)
69{ 64{
70 INIT_LIST_HEAD(&q->head); 65 INIT_LIST_HEAD(&q->head);