net/mlx4: remove unnecessary check
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 12 Oct 2017 12:19:40 +0000 (14:19 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Oct 2017 00:18:48 +0000 (01:18 +0100)
commit74d76e7ba53cb00a5ae6c531b58623b98ee66d35
tree5d758305a9cbb2b06a011b35a17d8a3ba8567bf7
parentfc4e66649a34e362ee0c37537200131942a4cb32
net/mlx4: remove unnecessary check

Device operation callbacks are not supposed to handle a missing private
data structure.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx4/mlx4_ethdev.c