netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] qed: Remove a duplicate assignment in qed_rdma_create_srq()
@ 2023-07-05 10:35 Minjie Du
  2023-07-05 10:51 ` Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Minjie Du @ 2023-07-05 10:35 UTC (permalink / raw)
  To: Markus.Elfring, Ariel Elior, Manish Chopra, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	open list:QLOGIC QL4xxx ETHERNET DRIVER, open list
  Cc: opensource.kernel, Minjie Du

Delete a duplicate statement from this function implementation.

Signed-off-by: Minjie Du <duminjie@vivo.com>
---
 drivers/net/ethernet/qlogic/qed/qed_rdma.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
index 5a5dbbb8d..41efced49 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
@@ -1795,7 +1795,6 @@ qed_rdma_create_srq(void *rdma_cxt,
 
 	opaque_fid = p_hwfn->hw_info.opaque_fid;
 
-	opaque_fid = p_hwfn->hw_info.opaque_fid;
 	init_data.opaque_fid = opaque_fid;
 	init_data.comp_mode = QED_SPQ_MODE_EBLOCK;
 
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] qed: Remove a duplicate assignment in qed_rdma_create_srq()
  2023-07-05 10:35 [PATCH v2] qed: Remove a duplicate assignment in qed_rdma_create_srq() Minjie Du
@ 2023-07-05 10:51 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2023-07-05 10:51 UTC (permalink / raw)
  To: Minjie Du
  Cc: Markus.Elfring, Ariel Elior, Manish Chopra, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	open list:QLOGIC QL4xxx ETHERNET DRIVER, open list,
	opensource.kernel

On Wed, Jul 05, 2023 at 06:35:46PM +0800, Minjie Du wrote:
> Delete a duplicate statement from this function implementation.
> 
> Signed-off-by: Minjie Du <duminjie@vivo.com>
> ---
>  drivers/net/ethernet/qlogic/qed/qed_rdma.c | 1 -
>  1 file changed, 1 deletion(-)

This patch should be resubmitted after merge window ends.

Please specify net-next target in patch subject and add changelog
that describes the differences between versions.

Thanks

> 
> diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
> index 5a5dbbb8d..41efced49 100644
> --- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c
> +++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
> @@ -1795,7 +1795,6 @@ qed_rdma_create_srq(void *rdma_cxt,
>  
>  	opaque_fid = p_hwfn->hw_info.opaque_fid;
>  
> -	opaque_fid = p_hwfn->hw_info.opaque_fid;
>  	init_data.opaque_fid = opaque_fid;
>  	init_data.comp_mode = QED_SPQ_MODE_EBLOCK;
>  
> -- 
> 2.39.0
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-05 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 10:35 [PATCH v2] qed: Remove a duplicate assignment in qed_rdma_create_srq() Minjie Du
2023-07-05 10:51 ` Leon Romanovsky

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).