From: Wei Yongjun Date: Mon, 15 Jan 2018 10:43:03 +0000 (+0000) Subject: mlxsw: spectrum: qdiscs: Make function mlxsw_sp_qdisc_prio_unoffload static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e02f08a07098887733f92d8c5631432a3d94de6c;p=openwrt%2Fstaging%2Fblogic.git mlxsw: spectrum: qdiscs: Make function mlxsw_sp_qdisc_prio_unoffload static Fixes the following sparse warning: drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c:464:1: warning: symbol 'mlxsw_sp_qdisc_prio_unoffload' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c index e11a0abfc663..fee9da81bce6 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c @@ -460,7 +460,7 @@ mlxsw_sp_qdisc_prio_replace(struct mlxsw_sp_port *mlxsw_sp_port, return 0; } -void +static void mlxsw_sp_qdisc_prio_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params)