* [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending()
@ 2022-02-16 11:35 YueHaibing
2022-02-17 2:25 ` wangjie (L)
2022-02-17 4:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2022-02-16 11:35 UTC (permalink / raw)
To: yisen.zhuang, salil.mehta, davem, kuba, wangjie125
Cc: netdev, linux-kernel, YueHaibing
This is unused since commit 8e2288cad6cb ("net: hns3: refactor PF
cmdq init and uninit APIs with new common APIs").
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
index adfb26e79262..3c5e76eaf90b 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
@@ -1060,11 +1060,6 @@ static inline int hclge_get_queue_id(struct hnae3_queue *queue)
return tqp->index;
}
-static inline bool hclge_is_reset_pending(struct hclge_dev *hdev)
-{
- return !!hdev->reset_pending;
-}
-
int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport);
int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex);
int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending()
2022-02-16 11:35 [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending() YueHaibing
@ 2022-02-17 2:25 ` wangjie (L)
2022-02-17 4:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: wangjie (L) @ 2022-02-17 2:25 UTC (permalink / raw)
To: YueHaibing, yisen.zhuang, salil.mehta, davem, kuba; +Cc: netdev, linux-kernel
Reviewed-by: Jie Wang <wangjie125@huawei.com>
On 2022/2/16 19:35, YueHaibing wrote:
> This is unused since commit 8e2288cad6cb ("net: hns3: refactor PF
> cmdq init and uninit APIs with new common APIs").
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
> index adfb26e79262..3c5e76eaf90b 100644
> --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
> +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
> @@ -1060,11 +1060,6 @@ static inline int hclge_get_queue_id(struct hnae3_queue *queue)
> return tqp->index;
> }
>
> -static inline bool hclge_is_reset_pending(struct hclge_dev *hdev)
> -{
> - return !!hdev->reset_pending;
> -}
> -
> int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport);
> int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex);
> int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending()
2022-02-16 11:35 [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending() YueHaibing
2022-02-17 2:25 ` wangjie (L)
@ 2022-02-17 4:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-02-17 4:40 UTC (permalink / raw)
To: YueHaibing
Cc: yisen.zhuang, salil.mehta, davem, kuba, wangjie125, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 16 Feb 2022 19:35:07 +0800 you wrote:
> This is unused since commit 8e2288cad6cb ("net: hns3: refactor PF
> cmdq init and uninit APIs with new common APIs").
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 5 -----
> 1 file changed, 5 deletions(-)
Here is the summary with links:
- [net-next] net: hns3: Remove unused inline function hclge_is_reset_pending()
https://git.kernel.org/netdev/net-next/c/8aa69d348261
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-17 4:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 11:35 [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending() YueHaibing
2022-02-17 2:25 ` wangjie (L)
2022-02-17 4:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).