]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: remove a line of code that has no effect
authorSathya Perla <sathya.perla@avagotech.com>
Wed, 30 Dec 2015 06:29:01 +0000 (01:29 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:14:32 +0000 (07:14 -0800)
commit545918c74821761184a9146e7a8bb699d8e39c75
tree9d7d594ef398fe55ce45213562419994fe820071
parent0fdab3dec84d0d9716063a6b886485cf38bc6eb5
be2net: remove a line of code that has no effect

This patch removes a line of code that changes adapter->recommended_prio
value followed by yet another assignment.
Also, the variable is used to store the vlan priority value that is already
shifted to the PCP bits position in the vlan tag format. Hence, the name of
this variable is changed to recommended_prio_bits.

Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com>
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Orabug: 22725582
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c