ethdev: remove useless null checks
authorDavid Marchand <david.marchand@6wind.com>
Fri, 22 Jan 2016 14:06:57 +0000 (15:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 27 Jan 2016 15:09:27 +0000 (16:09 +0100)
commitb75abd8907731fd76e09baa1d10e1897561eba88
tree591c1d8561bb27897e2885e99c461dd35950ba2c
parentc7985de0a7f0769d6e4e112b18314aceecf2642c
ethdev: remove useless null checks

We are in static functions and those passed arguments can't be NULL.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
lib/librte_ether/rte_ethdev.c