diff options
author | Josh Boyer <jwboyer@redhat.com> | 2011-10-26 18:23:52 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2011-10-26 21:03:18 -0400 |
commit | 34f9218fe519cd922889076cc7698bd73bdb9f92 (patch) | |
tree | 50217145a1dd12d404471d7c32f1093ffdc916b7 /benet-remove-bogus-unlikely-on-vlan-check.patch | |
parent | 829bffe3f94cfbe50c418900af3d6eb9df27d59e (diff) | |
download | kernel-34f9218fe519cd922889076cc7698bd73bdb9f92.tar.gz kernel-34f9218fe519cd922889076cc7698bd73bdb9f92.tar.xz kernel-34f9218fe519cd922889076cc7698bd73bdb9f92.zip |
Linux 3.1-git1 (138c4ae9cfda upstream)
First take on the upcomming Linux 3.2 kernel. The moving of the ethernet
drivers into vendor subdirectories caused a lot of churn in config-generic, but
hopefully it's a bit cleaner now.
Diffstat (limited to 'benet-remove-bogus-unlikely-on-vlan-check.patch')
-rw-r--r-- | benet-remove-bogus-unlikely-on-vlan-check.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/benet-remove-bogus-unlikely-on-vlan-check.patch b/benet-remove-bogus-unlikely-on-vlan-check.patch deleted file mode 100644 index 08c00817e..000000000 --- a/benet-remove-bogus-unlikely-on-vlan-check.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 82f15998fafe683add83f7a11b2e25f919b3cd2d Mon Sep 17 00:00:00 2001 -From: Jiri Pirko <jpirko@redhat.com> -Date: Tue, 25 Oct 2011 13:47:16 -0400 -Subject: [PATCH] benet: remove bogus "unlikely" on vlan check - -Use of unlikely in this place is wrong. Remove it. - -Signed-off-by: Jiri Pirko <jpirko@redhat.com> -Signed-off-by: David S. Miller <davem@davemloft.net> -Backported-by: Josh Boyer <jwboyer@redhat.com> ---- - drivers/net/benet/be_main.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c -index c411bb1..6df0c7e 100644 ---- a/drivers/net/benet/be_main.c -+++ b/drivers/net/benet/be_main.c -@@ -1192,7 +1192,7 @@ static void be_rx_compl_process(struct be_adapter *adapter, - skb->rxhash = rxcp->rss_hash; - - -- if (unlikely(rxcp->vlanf)) -+ if (rxcp->vlanf) - __vlan_hwaccel_put_tag(skb, rxcp->vlan_tag); - - netif_receive_skb(skb); -@@ -1249,7 +1249,7 @@ static void be_rx_compl_process_gro(struct be_adapter *adapter, - if (adapter->netdev->features & NETIF_F_RXHASH) - skb->rxhash = rxcp->rss_hash; - -- if (unlikely(rxcp->vlanf)) -+ if (rxcp->vlanf) - __vlan_hwaccel_put_tag(skb, rxcp->vlan_tag); - - napi_gro_frags(&eq_obj->napi); --- -1.7.6.4 - |