Re: [PATCH][next] PCI: apple: Remove redundant initialization of pointer port_pdev

Lorenzo Pieralisi
2021-10-13T14:15:05Z

On Wed, Oct 13, 2021 at 10:06:20AM -0400, Alyssa Rosenzweig wrote:
> Hi Lorenzo,
>
> > > The pointer port_pdev is being initialized with a value that is never
> > > read, it is being updated later on. The assignment is redundant and
> > > can be removed.
> > >
> > > Addresses-Coverity: ("Unused value")
> > > Signed-off-by: Colin Ian King <colin.king@canonical.com>
> > > ---
> > > drivers/pci/controller/pcie-apple.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Squashed into the commit it is fixing.
>
> It seems the commit already landed in linux-next? [1]
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=00723f494020aceb92f789af634fecba1477fc01

I know thanks. The updated one will land in next shortly.

Lorenzo