spi/bcm63xx: inline hz usage in bcm63xx_spi_setup_transfer
authorJonas Gorski <jogo@openwrt.org>
Mon, 11 Mar 2013 23:13:46 +0000 (00:13 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 19:14:48 +0000 (19:14 +0000)
commit68792e2a1989bf34a9498356c3e3cc70b9231df2
treeebb3edd0319b3399fee12563bb51cc941eb4aef5
parentc94df49542a9cf2c095468e62be6a16ba86dd811
spi/bcm63xx: inline hz usage in bcm63xx_spi_setup_transfer

bcm63xx_spi_setup_transfer is called from only one place, and that has
t always set, to hz will always be t->speed_hz - just use it directly in
the two places instead of moving it in a local variable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-bcm63xx.c