lkml.org 
[lkml]   [2021]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] [PATCH 1/2] scsi: qedi: Remove set but unused 'page' variable
Date
> >>   	list = (u64 *)qedi->bdq_pbl_list;
> >> - page = qedi->bdq_pbl_list_dma;
> >> for (i = 0; i < qedi->bdq_pbl_list_num_entries; i++) {
> >> *list = qedi->bdq_pbl_dma;
> >> list++;
> >> - page += QEDI_PAGE_SIZE;
> >> }
> >>
> >> return 0;
> >> --
> >> 2.25.1
> >
> > Thanks,
> > Acked-by: Manish Rangankar <mrangankar@marvell.com>
>
> Thanks for taking a look, does not that make the loop iterating the list even
> more useless now, though? Should not page have been used for something in
> that function?
> --

We need list to build structure of bdq list in firmware understandable format.


\
 
 \ /
  Last update: 2021-11-27 10:18    [W:0.076 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site