Re: [dpdk-dev] [PATCH 6/7] common/mlx5: remove useless assignment

2020-06-29 Thread Raslan Darawsheh
Hi > -Original Message- > From: dev On Behalf Of Michael Baum > Sent: Wednesday, June 24, 2020 2:33 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > > Subject: [dpdk-dev] [PATCH 6/7] common/mlx5: remove useless assignment > > The mlx5_dev_to_

[dpdk-dev] [PATCH 6/7] common/mlx5: remove useless assignment

2020-06-24 Thread Michael Baum
The mlx5_dev_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. Signed-off