]> 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)
commit9c2cd4e0976314e553e532a908f818c452654d35
tree50b418de20334b2d296949c8da3a31217340af39
parent23bfca0cbd655f4f40f99839c721048492509eea
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