projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f721c
)
ixgbevf: remove redundant setting of xcast_mode
author
Emil Tantilov
<
[email protected]
>
Tue, 21 Nov 2017 23:58:27 +0000
(15:58 -0800)
committer
Jeff Kirsher
<
[email protected]
>
Tue, 9 Jan 2018 16:39:01 +0000
(08:39 -0800)
Removed leftover assignment of xcast_mode.
Signed-off-by: Emil Tantilov <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index 1f4a69134adeb58a14d13998e3be39feba5134f0..573f743b556a3956afc7eddfa2cb129aca8a3255 100644
(file)
--- a/
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@
-1896,10
+1896,6
@@
static void ixgbevf_set_rx_mode(struct net_device *netdev)
unsigned int flags = netdev->flags;
int xcast_mode;
- xcast_mode = (flags & IFF_ALLMULTI) ? IXGBEVF_XCAST_MODE_ALLMULTI :
- (flags & (IFF_BROADCAST | IFF_MULTICAST)) ?
- IXGBEVF_XCAST_MODE_MULTI : IXGBEVF_XCAST_MODE_NONE;
-
/* request the most inclusive mode we need */
if (flags & IFF_PROMISC)
xcast_mode = IXGBEVF_XCAST_MODE_PROMISC;