diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2020-07-02 12:06:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-02 14:22:00 -0700 |
commit | 580d395cb9ab60261586bf8ddd5d54de2f29d4fa (patch) | |
tree | 56f434eec646f22dfb314357885731fa41f140b0 /drivers | |
parent | b7ab39b35935982d8306e3a97c57d8a232968f86 (diff) | |
download | linux-stable-580d395cb9ab60261586bf8ddd5d54de2f29d4fa.tar.gz linux-stable-580d395cb9ab60261586bf8ddd5d54de2f29d4fa.tar.bz2 linux-stable-580d395cb9ab60261586bf8ddd5d54de2f29d4fa.zip |
net: macb: do not initialize queue variable
Do not initialize queue variable. It is already initialized in for loops.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/cadence/macb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c index 7668b6ae8822..c31c15e99e3c 100644 --- a/drivers/net/ethernet/cadence/macb_main.c +++ b/drivers/net/ethernet/cadence/macb_main.c @@ -1467,7 +1467,7 @@ static void macb_hresp_error_task(unsigned long data) { struct macb *bp = (struct macb *)data; struct net_device *dev = bp->dev; - struct macb_queue *queue = bp->queues; + struct macb_queue *queue; unsigned int q; u32 ctrl; |