From: Tom Rix <trix@redhat.com> Date: 2023-03-19 17:25:35
clang with W=1 reports
drivers/net/ethernet/chelsio/cxgb3/sge.c:169:32: error: unused function
'fl_to_qset' [-Werror,-Wunused-function]
static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx)
^
This function is not used, so remove it.
Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/net/ethernet/chelsio/cxgb3/sge.c | 5 -----
1 file changed, 5 deletions(-)
clang with W=1 reports
drivers/net/ethernet/chelsio/cxgb3/sge.c:169:32: error: unused function
'fl_to_qset' [-Werror,-Wunused-function]
static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx)
^
This function is not used, so remove it.
Don't forget to mention in the subject which tree is targeting this
patch.
Other than that looks OK.
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
From: Tom Rix <trix@redhat.com> Date: 2023-03-20 12:31:07
On 3/19/23 10:45 AM, Horatiu Vultur wrote:
The 03/19/2023 13:24, Tom Rix wrote:
Hi Tom,
quoted
clang with W=1 reports
drivers/net/ethernet/chelsio/cxgb3/sge.c:169:32: error: unused function
'fl_to_qset' [-Werror,-Wunused-function]
static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx)
^
This function is not used, so remove it.
Don't forget to mention in the subject which tree is targeting this
patch.
This and all my similar fixes/cleanup are against -next.
What prefix would you like to see ?
Tom
Other than that looks OK.
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
From: Leon Romanovsky <leon@kernel.org> Date: 2023-03-20 13:37:23
On Mon, Mar 20, 2023 at 05:29:51AM -0700, Tom Rix wrote:
On 3/19/23 10:45 AM, Horatiu Vultur wrote:
quoted
The 03/19/2023 13:24, Tom Rix wrote:
Hi Tom,
quoted
clang with W=1 reports
drivers/net/ethernet/chelsio/cxgb3/sge.c:169:32: error: unused function
'fl_to_qset' [-Werror,-Wunused-function]
static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx)
^
This function is not used, so remove it.
Don't forget to mention in the subject which tree is targeting this
patch.
This and all my similar fixes/cleanup are against -next.
What prefix would you like to see ?
net-next
Thanks
Tom
quoted
Other than that looks OK.
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:
On Sun, 19 Mar 2023 13:24:33 -0400 you wrote:
clang with W=1 reports
drivers/net/ethernet/chelsio/cxgb3/sge.c:169:32: error: unused function
'fl_to_qset' [-Werror,-Wunused-function]
static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx)
^
This function is not used, so remove it.
[...]