aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@vmware.com>2011-03-20 05:15:16 -0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-04-13 19:19:47 -0400
commit575688e1e5f462c44ddd608ce3ec9f38b64c3c0d (patch)
treece9ec6605e02c08f57cd2914b06cea4316b35221 /drivers/usb/host/xhci-mem.c
parent22e0487047567252d5677ff35766cd884375efc2 (diff)
USB: xhci - remove excessive 'inline' markings
Remove 'inline' markings from file-local functions and let compiler do its job and inline what makes sense for given architecture. Signed-off-by: Dmitry Torokhov <dtor@vmware.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index ab7fc2b71a8c..7f56c9b80692 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -982,7 +982,7 @@ int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud
982 * The NAK interval is one NAK per 1 to 255 microframes, or no NAKs if interval 982 * The NAK interval is one NAK per 1 to 255 microframes, or no NAKs if interval
983 * is set to 0. 983 * is set to 0.
984 */ 984 */
985static inline unsigned int xhci_get_endpoint_interval(struct usb_device *udev, 985static unsigned int xhci_get_endpoint_interval(struct usb_device *udev,
986 struct usb_host_endpoint *ep) 986 struct usb_host_endpoint *ep)
987{ 987{
988 unsigned int interval = 0; 988 unsigned int interval = 0;
@@ -1041,7 +1041,7 @@ static inline unsigned int xhci_get_endpoint_interval(struct usb_device *udev,
1041 * transaction opportunities per microframe", but that goes in the Max Burst 1041 * transaction opportunities per microframe", but that goes in the Max Burst
1042 * endpoint context field. 1042 * endpoint context field.
1043 */ 1043 */
1044static inline u32 xhci_get_endpoint_mult(struct usb_device *udev, 1044static u32 xhci_get_endpoint_mult(struct usb_device *udev,
1045 struct usb_host_endpoint *ep) 1045 struct usb_host_endpoint *ep)
1046{ 1046{
1047 if (udev->speed != USB_SPEED_SUPER || 1047 if (udev->speed != USB_SPEED_SUPER ||
@@ -1050,7 +1050,7 @@ static inline u32 xhci_get_endpoint_mult(struct usb_device *udev,
1050 return ep->ss_ep_comp.bmAttributes; 1050 return ep->ss_ep_comp.bmAttributes;
1051} 1051}
1052 1052
1053static inline u32 xhci_get_endpoint_type(struct usb_device *udev, 1053static u32 xhci_get_endpoint_type(struct usb_device *udev,
1054 struct usb_host_endpoint *ep) 1054 struct usb_host_endpoint *ep)
1055{ 1055{
1056 int in; 1056 int in;
@@ -1084,7 +1084,7 @@ static inline u32 xhci_get_endpoint_type(struct usb_device *udev,
1084 * Basically, this is the maxpacket size, multiplied by the burst size 1084 * Basically, this is the maxpacket size, multiplied by the burst size
1085 * and mult size. 1085 * and mult size.
1086 */ 1086 */
1087static inline u32 xhci_get_max_esit_payload(struct xhci_hcd *xhci, 1087static u32 xhci_get_max_esit_payload(struct xhci_hcd *xhci,
1088 struct usb_device *udev, 1088 struct usb_device *udev,
1089 struct usb_host_endpoint *ep) 1089 struct usb_host_endpoint *ep)
1090{ 1090{