]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Dec 2015 21:33:35 +0000 (16:33 -0500)
commitd7afd78216fe88e747b885553aec44be51d6b640
tree50b418de20334b2d296949c8da3a31217340af39
parent4447a6640abbefca96f18f0f92c21bfa6f159a7d
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>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c