summaryrefslogtreecommitdiff
path: root/drivers/staging/octeon-usb
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2014-05-11 15:15:19 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-23 21:01:08 +0400
commita4570140b3f80d0dfc71fdcad00b9768db0b8b04 (patch)
tree18db28fa9f4290b258d3eaf8777f2502011ef135 /drivers/staging/octeon-usb
parent1949551393b3c1579696f2e7025761dd6901871b (diff)
downloadlinux-a4570140b3f80d0dfc71fdcad00b9768db0b8b04.tar.xz
staging: octeon-usb: delete redudant prefetches
cvmx_usb_pipe fits into a cache-line so additional prefetches are not really helping anything. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 2d15001b3061..b0c5f51f990e 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -2008,7 +2008,6 @@ static struct cvmx_usb_pipe *__cvmx_usb_find_ready_pipe(
((((int)current_frame - (int)pipe->split_sc_frame)
& 0x7f) < 0x40)) &&
(!usb->active_split || (usb->active_split == t))) {
- CVMX_PREFETCH(pipe, 128);
CVMX_PREFETCH(t, 0);
return pipe;
}
@@ -2660,7 +2659,6 @@ static int __cvmx_usb_poll_channel(struct cvmx_usb_state *usb, int channel)
/* Make sure this channel is tied to a valid pipe */
pipe = usb->pipe_for_channel[channel];
CVMX_PREFETCH(pipe, 0);
- CVMX_PREFETCH(pipe, 128);
if (!pipe)
return 0;
transaction = list_first_entry(&pipe->transactions,