aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/701-net-0321-staging-fsl_ppfe-eth-remove-fallback-argument-from-d.patch
blob: 9d4169e524ee1d316d8d33491dd7408118d998fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 52f6eea9b70007cb0c5d13b9268d37bfddbaf0f4 Mon Sep 17 00:00:00 2001
From: Li Yang <leoyang.li@nxp.com>
Date: Tue, 11 Jun 2019 18:24:37 -0500
Subject: [PATCH] staging: fsl_ppfe/eth: remove 'fallback' argument from
 dev->ndo_select_queue()

To be consistent with upstream API change.

Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
 drivers/staging/fsl_ppfe/pfe_eth.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/drivers/staging/fsl_ppfe/pfe_eth.c
+++ b/drivers/staging/fsl_ppfe/pfe_eth.c
@@ -1879,8 +1879,7 @@ static int pfe_eth_send_packet(struct sk
  *
  */
 static u16 pfe_eth_select_queue(struct net_device *ndev, struct sk_buff *skb,
-				struct net_device *sb_dev,
-				select_queue_fallback_t fallback)
+				struct net_device *sb_dev)
 {
 	struct pfe_eth_priv_s *priv = netdev_priv(ndev);