cxgb4: remove redundant assignment to vlan_cmd.dropnovlan_fm
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Sep 2018 12:17:22 +0000 (13:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2018 17:01:21 +0000 (10:01 -0700)
commit25290bfc120df09bd81f41194e37c84f59792c77
tree616fecedb7cb4a1db491654f7aeeb9f9c7e768b4
parent09317da317e55e70ccbe23f65008348a4a1b7c7f
cxgb4: remove redundant assignment to vlan_cmd.dropnovlan_fm

A recent commit updated vlan_cmd.dropnovlan_fm but failed to remove
the older assignment.  Fix this by removing the former redundant
assignment.

Detected by CoverityScan, CID#1473290 ("Unused value")

Fixes: a89cdd8e7c74 ("cxgb4: impose mandatory VLAN usage when non-zero TAG ID")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c