net/hns3: remove unnecessary input parameter check
authorLijun Ou <oulijun@huawei.com>
Thu, 16 Jan 2020 09:27:04 +0000 (17:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:59:19 +0000 (19:59 +0100)
commitb34fdfe98482cfca168be924d5d3d87dd51ae9f8
tree19d1aa9d8151d5f9461cf11544fdb331f7cb989c
parent8162238b7d92bb9ce05bd7f8244bed7ffca2d5b6
net/hns3: remove unnecessary input parameter check

Since the input parameter named dev has been guaranteed not to be NULL
in the rte layer of DPDK framework, it doesn't need to check dev whether
is null in the 'filter_ctrl' ops implementation function named
hns3_dev_filter_ctrl.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_flow.c