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)
commit5c8598fca1a359520623ed5409d23bb9e23d7da3
tree16dd1ae0911bad1d22c213f9e59ef86f916c1c94
parent0703ed2a6b260cd743adf49a8281eb064d728832
ARM: dmabounce: no need to check dev->bus type in needs_bounce function

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>
arch/arm/common/it8152.c
arch/arm/mach-ixp4xx/common-pci.c