From: Aaron Conole Date: Tue, 26 Sep 2017 18:53:29 +0000 (-0400) Subject: net/enic: remove ancillary assignment X-Git-Tag: spdx-start~1469 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=61789822acbd30d9cfc94b9089052d9741b6ca3b;p=dpdk.git net/enic: remove ancillary assignment The assignment at initialization is overwritten immediately. Drop the assignment. Signed-off-by: Aaron Conole Reviewed-by: John Daley --- diff --git a/drivers/net/enic/base/vnic_dev.c b/drivers/net/enic/base/vnic_dev.c index 806467999e..9b25d219c8 100644 --- a/drivers/net/enic/base/vnic_dev.c +++ b/drivers/net/enic/base/vnic_dev.c @@ -272,7 +272,7 @@ int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, __attribute__((unused)) unsigned int socket_id, char *z_name) { - void *alloc_addr = NULL; + void *alloc_addr; dma_addr_t alloc_pa = 0; vnic_dev_desc_ring_size(ring, desc_count, desc_size);