Commit 3233c151 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by David S. Miller
Browse files

dpaa2-eth: make dpaa2_eth_set_dist_key static



The dpaa2_eth_set_dist_key function is only used in a single file.
Make it static.

Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b12cef51
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2172,7 +2172,7 @@ int dpaa2_eth_cls_fld_off(int prot, int field)
/* Set Rx distribution (hash or flow classification) key
 * flags is a combination of RXH_ bits
 */
int dpaa2_eth_set_dist_key(struct net_device *net_dev,
static int dpaa2_eth_set_dist_key(struct net_device *net_dev,
				  enum dpaa2_eth_rx_dist type, u64 flags)
{
	struct device *dev = net_dev->dev.parent;