Junfeng Guo c2450e933f net/ice/base: fix null pointer dereferences for parser
Null-checking "p" suggests that it may be null, but it has already
been dereferenced on all paths leading to the check. Thus correct
the code lines and remove the redundant line.

Fixes: c84f8aa2100c ("net/ice/base: add parser runtime skeleton")

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2021-10-13 12:29:54 +02:00
..
2021-01-08 19:03:09 +01:00
2021-01-08 19:03:09 +01:00

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2020-2021 Intel Corporation
 */

Intel® ICE driver
==================

This directory contains source code of FreeBSD ice driver of version
2021.04.29 released by the team which develops
basic drivers for any ice NIC. The directory of base/ contains the
original source package.
This driver is valid for the product(s) listed below

* Intel® Ethernet Network Adapters E810

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    ice_osdep.h