All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH S13 v2 02/17] ice: Remove unused function prototype
Date: Tue, 26 Feb 2019 16:35:08 -0800	[thread overview]
Message-ID: <20190227003523.28733-3-anirudh.venkataramanan@intel.com> (raw)
In-Reply-To: <20190227003523.28733-1-anirudh.venkataramanan@intel.com>

Commit 7c710869d64e ("ice: Add handlers for VF netdevice operations")
seems to have inadvertently introduced a function prototype for
ice_set_vf_bw that isn't implemented. Remove it.

Fixes: 7c710869d64e ("ice: Add handlers for VF netdevice operations")

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
---
 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h
index 01470a8ee03a..1790b2c457b7 100644
--- a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h
+++ b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h
@@ -89,9 +89,6 @@ bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr);
 int ice_set_vf_port_vlan(struct net_device *netdev, int vf_id,
 			 u16 vlan_id, u8 qos, __be16 vlan_proto);
 
-int ice_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
-		  int max_tx_rate);
-
 int ice_set_vf_trust(struct net_device *netdev, int vf_id, bool trusted);
 
 int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state);
@@ -162,12 +159,5 @@ ice_set_vf_link_state(struct net_device __always_unused *netdev,
 	return -EOPNOTSUPP;
 }
 
-static inline int
-ice_set_vf_bw(struct net_device __always_unused *netdev,
-	      int __always_unused vf_id, int __always_unused min_tx_rate,
-	      int __always_unused max_tx_rate)
-{
-	return -EOPNOTSUPP;
-}
 #endif /* CONFIG_PCI_IOV */
 #endif /* _ICE_VIRTCHNL_PF_H_ */
-- 
2.14.5


  parent reply	other threads:[~2019-02-27  0:35 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-27  0:35 [Intel-wired-lan] [PATCH S13 v2 00/17] Bug fixes and minor feature updates for ice Anirudh Venkataramanan
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 01/17] ice: fix static analysis warnings Anirudh Venkataramanan
2019-02-28 23:54   ` Bowers, AndrewX
2019-02-27  0:35 ` Anirudh Venkataramanan [this message]
2019-02-28 23:50   ` [Intel-wired-lan] [PATCH S13 v2 02/17] ice: Remove unused function prototype Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 03/17] ice: Fix issue reconfiguring VF queues Anirudh Venkataramanan
2019-03-08  0:49   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 04/17] ice: fix the divide by zero issue Anirudh Venkataramanan
2019-02-28 23:08   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 05/17] ice: fix some function prototype and signature style issues Anirudh Venkataramanan
2019-02-28 23:53   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 06/17] ice: Remove unused vsi_id field Anirudh Venkataramanan
2019-02-28 23:52   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 07/17] ice: code cleanup in ice_sched.c Anirudh Venkataramanan
2019-02-28 23:53   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 08/17] ice: Add support for PF/VF promiscuous mode Anirudh Venkataramanan
2019-03-08  0:50   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 09/17] ice: Enable LAN_EN for the right recipes Anirudh Venkataramanan
2019-03-08  0:50   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 10/17] ice: Do not set LB_EN for prune switch rules Anirudh Venkataramanan
2019-03-08  0:51   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 11/17] ice: Set LAN_EN for all directional rules Anirudh Venkataramanan
2019-03-08  0:53   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 12/17] ice: Don't let VF know that it is untrusted Anirudh Venkataramanan
2019-03-01 23:55   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 13/17] ice: Get VF VSI instances directly via PF Anirudh Venkataramanan
2019-03-08  0:52   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 14/17] ice: update VSI config dynamically Anirudh Venkataramanan
2019-03-08  0:52   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 15/17] ice: Restore VLAN switch rule if port VLAN existed before Anirudh Venkataramanan
2019-03-04 18:43   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 16/17] ice: use irq_num var in ice_vsi_req_irq_msix Anirudh Venkataramanan
2019-02-28 23:07   ` Bowers, AndrewX
2019-02-27  0:35 ` [Intel-wired-lan] [PATCH S13 v2 17/17] ice: Enable link events over the ARQ Anirudh Venkataramanan
2019-03-08  0:51   ` Bowers, AndrewX

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190227003523.28733-3-anirudh.venkataramanan@intel.com \
    --to=anirudh.venkataramanan@intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.