Re: [dpdk-dev] [PATCH] net/mlx4: remove useless assignment

2020-06-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Michael Baum > Sent: Wednesday, June 24, 2020 4:31 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > > Subject: [dpdk-dev] [PATCH] net/mlx4: remove useless assignment > > The mlx4_ibv_device_to_

[dpdk-dev] [PATCH] net/mlx4: remove useless assignment

2020-06-24 Thread Michael Baum
The mlx4_ibv_device_to_pci_addr function defines a variable called ret inside a loop and uses it. During the loop, the function assigns a value within the variable and breaks from the loop, so that this assigning has done nothing and is actually unnecessary. Remove the unnecessary assigning. Sig

[dpdk-dev] [PATCH] net/mlx4: remove useless assignment

2020-06-24 Thread Michael Baum
The mlx4_ibv_device_to_pci_addr function defines a variable called ret inside a loop and uses it. During the loop, the function assigns a value within the variable and breaks from the loop, so that this assigning has done nothing and is actually unnecessary. Remove the unnecessary assigning. Sig