[dpdk-dev] [PATCH v2 1/2] ethdev: remove useless null checks

2016-01-27 Thread David Marchand
On Tue, Jan 26, 2016 at 4:50 PM, Jan Viktorin wrote: > What about the RTE_VERIFY? I think, it's more appropriate here. Well, here, I am removing useless checks in static functions. But for the rest of ethdev api, I agree we could add some RTE_VERIFY. > Otherwise, feel free to add: > >

[dpdk-dev] [PATCH v2 1/2] ethdev: remove useless null checks

2016-01-26 Thread Jan Viktorin
What about the RTE_VERIFY? I think, it's more appropriate here. Otherwise, feel free to add: Reviewed-by: Jan Viktorin On Fri, 22 Jan 2016 15:06:57 +0100 David Marchand wrote: > We are in static functions and those passed arguments can't be NULL. > > Signed-off-by: David Marchand > --- >

[dpdk-dev] [PATCH v2 1/2] ethdev: remove useless null checks

2016-01-22 Thread David Marchand
We are in static functions and those passed arguments can't be NULL. Signed-off-by: David Marchand --- lib/librte_ether/rte_ethdev.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index ed971b4..cab74e0 100644