net/mlx4_en: Cleanups suggested by clang static checker
[cascardo/linux.git] / drivers / net / ethernet / mellanox / mlx4 / en_rx.c
index 01660c5..c8e75da 100644 (file)
@@ -119,7 +119,6 @@ static int mlx4_en_alloc_frags(struct mlx4_en_priv *priv,
 
 out:
        while (i--) {
-               frag_info = &priv->frag_info[i];
                if (page_alloc[i].page != ring_alloc[i].page) {
                        dma_unmap_page(priv->ddev, page_alloc[i].dma,
                                page_alloc[i].page_size, PCI_DMA_FROMDEVICE);