commit | 68792e2a1989bf34a9498356c3e3cc70b9231df2 | [log] [tgz] |
---|---|---|
author | Jonas Gorski <jogo@openwrt.org> | Tue Mar 12 00:13:46 2013 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Mar 12 19:14:48 2013 +0000 |
tree | ebb3edd0319b3399fee12563bb51cc941eb4aef5 | |
parent | c94df49542a9cf2c095468e62be6a16ba86dd811 [diff] |
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>