aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-08 16:17:55 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-08 16:17:55 -0800
commit8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224 (patch)
treefee1865c2fbfe8fbb67e8aed97fd8df18254d777 /drivers
parente7b66bdc02592f5573ade667e4d68ac6e7b0f9e1 (diff)
downloadkernel_samsung_crespo-8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224.zip
kernel_samsung_crespo-8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224.tar.gz
kernel_samsung_crespo-8d13a2a9fb3e5e3f68e9d3ec0de3c8fcfa56a224.tar.bz2
net: Kill NETEVENT_PMTU_UPDATE.
Nobody actually does anything in response to the event, so just kill it off. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/cxgb3/cxgb3_offload.c2
-rw-r--r--drivers/net/cxgb4/cxgb4_main.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/cxgb3/cxgb3_offload.c b/drivers/net/cxgb3/cxgb3_offload.c
index ef02aa6..7ea94b5 100644
--- a/drivers/net/cxgb3/cxgb3_offload.c
+++ b/drivers/net/cxgb3/cxgb3_offload.c
@@ -967,8 +967,6 @@ static int nb_callback(struct notifier_block *self, unsigned long event,
cxgb_neigh_update((struct neighbour *)ctx);
break;
}
- case (NETEVENT_PMTU_UPDATE):
- break;
case (NETEVENT_REDIRECT):{
struct netevent_redirect *nr = ctx;
cxgb_redirect(nr->old, nr->new);
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index ec35d45..5352c8a 100644
--- a/drivers/net/cxgb4/cxgb4_main.c
+++ b/drivers/net/cxgb4/cxgb4_main.c
@@ -2471,7 +2471,6 @@ static int netevent_cb(struct notifier_block *nb, unsigned long event,
case NETEVENT_NEIGH_UPDATE:
check_neigh_update(data);
break;
- case NETEVENT_PMTU_UPDATE:
case NETEVENT_REDIRECT:
default:
break;