net/bnxt: remove redundant null check
authorGaurav Singh <gaurav1086@gmail.com>
Thu, 6 Aug 2020 03:52:13 +0000 (23:52 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commitd4cb1e71edd82ea2a90c19935825f1a0d1b35738
treedd38fe355fea5a1da3efee77334b1fce33cb3a07
parent2477be96e7a34ee74314d2604b4943b5e317e627
net/bnxt: remove redundant null check

In bnxt_validate_and_parse_flow_type
vxlan_spec cannot be NULL since its already being accessed
before. Remove the redundant NULL check.

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_flow.c