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:
32ca686
)
ixgbe: make __ixgbe_setup_tc static
author
Emil Tantilov
<
[email protected]
>
Wed, 17 Feb 2016 23:55:06 +0000
(15:55 -0800)
committer
Jeff Kirsher
<
[email protected]
>
Wed, 30 Mar 2016 05:57:32 +0000
(22:57 -0700)
This function is only used in ixgbe_main.c
Resolves a "missing prototype" warning when building the driver with W=1
Reported-by: Phil Schmitt <
[email protected]
>
Signed-off-by: Emil Tantilov <
[email protected]
>
Acked-by: John Fastabend <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 267a50747cbf45bea3b14213aeb6298059334c14..f5736a3b252ef7f2269eda18f12c17deb2d41b40 100644
(file)
--- a/
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@
-8376,8
+8376,8
@@
err_out:
return -EINVAL;
}
-int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
- struct tc_to_netdev *tc)
+
static
int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
+
struct tc_to_netdev *tc)
{
struct ixgbe_adapter *adapter = netdev_priv(dev);