ARM: dmabounce: no need to check dev->bus type in needs_bounce function
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2011 07:34:33 +0000 (08:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2011 07:39:56 +0000 (08:39 +0100)
As the needs_bounce function is passed at DMA bounce register time,
we already know what the device bus type is, so we don't need to check
it each time the needs_bounce function is called.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found