ar71xx/ath79: ag71xx: dont fetch the same var again
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 12 Aug 2019 10:18:15 +0000 (12:18 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 27 Aug 2019 08:31:06 +0000 (10:31 +0200)
commit0a59e9197395e8db0ac2b69bec9a0c93258ff1f9
treee08a619ed3eb3d2785a67db85a1962c256cef671
parentdb1a935e5c6c8f55342b1996e09fa799bbda1239
ar71xx/ath79: ag71xx: dont fetch the same var again

tx_size was just declared above and set to BIT(tx->order)
Use the declaration instead, which could avoid a pointer deref

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 6852eab58236e3991f5d73f211018dfef01f2a64)
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c