projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69b365c
)
sfc: remove duplicate assignment
author
Edward Cree
<ecree@solarflare.com>
Fri, 26 Aug 2016 14:12:57 +0000
(15:12 +0100)
committer
David S. Miller
<davem@davemloft.net>
Sat, 27 Aug 2016 04:43:52 +0000
(21:43 -0700)
nic_data was already initialised to the right thing, no need to assign
it again.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/sfc/ef10.c
b/drivers/net/ethernet/sfc/ef10.c
index d039f29cd8d7da002d060c28600bc76882a26ca5..c4cd6b08acd14d1b9901b904d407fbe6b95e2700 100644
(file)
--- a/
drivers/net/ethernet/sfc/ef10.c
+++ b/
drivers/net/ethernet/sfc/ef10.c
@@
-1715,7
+1715,6
@@
static int efx_ef10_try_update_nic_stats_pf(struct efx_nic *efx)
efx_ef10_get_stat_mask(efx, mask);
dma_stats = efx->stats_buffer.addr;
- nic_data = efx->nic_data;
generation_end = dma_stats[MC_CMD_MAC_GENERATION_END];
if (generation_end == EFX_MC_STATS_GENERATION_INVALID)