[dpdk-dev] [PATCH 3/6] bsd: remove useless assignments

2015-02-16 Thread Bruce Richardson
On Sat, Feb 14, 2015 at 09:59:07AM -0500, Stephen Hemminger wrote: > If variable is set in the next line, it doesn't need to be > initialized. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_eal/bsdapp/eal/eal.c | 3 ++- > lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- > 2 files changed

[dpdk-dev] [PATCH 3/6] bsd: remove useless assignments

2015-02-14 Thread Stephen Hemminger
If variable is set in the next line, it doesn't need to be initialized. Signed-off-by: Stephen Hemminger --- lib/librte_eal/bsdapp/eal/eal.c | 3 ++- lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/l