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:32:44 +0000 (10:32 +0200)
commit81d0da118694feb874f992093063a2852285d194
treea893a364bf241925814be4bb13a1d8ea4f85911c
parente773838813c268720f61dd5946dbac40e414b56a
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>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c