qed/qede: Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Mon, 21 Aug 2023 13:00:02 +0000 (21:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Aug 2023 07:21:37 +0000 (08:21 +0100)
Commit 8cd160a29415 ("qede: convert to new udp_tunnel_nic infra")
removed qede_udp_tunnel_{add,del}() but not the declarations.
Commit 0ebcebbef1cc ("qed: Read device port count from the shmem")
removed qed_device_num_engines() but not its declaration.
Commit 1e128c81290a ("qed: Add support for hardware offloaded FCoE.")
declared but never implemented qed_fcoe_set_pf_params().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qede/qede.h
include/linux/qed/qed_fcoe_if.h

index d613095b78e09aac5786aa7baa342d25de2769c5..1d719726f72b2df042eb4e35edc16c4e3c127a3c 100644 (file)
@@ -909,7 +909,6 @@ void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev,
                                         u32 min_pf_rate);
 
 void qed_clean_wfq_db(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
-int qed_device_num_engines(struct qed_dev *cdev);
 void qed_set_fw_mac_addr(__le16 *fw_msb,
                         __le16 *fw_mid, __le16 *fw_lsb, u8 *mac);
 
index 4d83ceebdc498dfd700531f822721edea96ed6a5..042a75f3406082ca6cd1f0fdf2c199f1e3d64d3a 100644 (file)
@@ -556,9 +556,6 @@ void qede_config_rx_mode(struct net_device *ndev);
 void qede_fill_rss_params(struct qede_dev *edev,
                          struct qed_update_vport_rss_params *rss, u8 *update);
 
-void qede_udp_tunnel_add(struct net_device *dev, struct udp_tunnel_info *ti);
-void qede_udp_tunnel_del(struct net_device *dev, struct udp_tunnel_info *ti);
-
 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp);
 
 #ifdef CONFIG_DCB
index 90e3045b2dcbc136a6cafdabfef3abb34b0f6599..0d3b6ed21628c0349ee9a4def5eb21534614da59 100644 (file)
@@ -67,9 +67,6 @@ struct qed_fcoe_cb_ops {
         u32 (*get_login_failures)(void *cookie);
 };
 
-void qed_fcoe_set_pf_params(struct qed_dev *cdev,
-                           struct qed_fcoe_pf_params *params);
-
 /**
  * struct qed_fcoe_ops - qed FCoE operations.
  * @common:            common operations pointer