mbox series

[0/2] PCI: mt7621: address some kernel test robot reported warnings

Message ID 20220124113003.406224-1-sergio.paracuellos@gmail.com (mailing list archive)
Headers show
Series PCI: mt7621: address some kernel test robot reported warnings | expand

Message

Sergio Paracuellos Jan. 24, 2022, 11:30 a.m. UTC
Kernel test robot complains about two things here[0]:
- pcie_rmw() [-Wunused-function]
- 'mt7621_pcie_ids' [-Wunused-const-variable]

Address this two warnings in this small two patches.

Best regards,
    Sergio Paracuellos

[0]: https://lkml.org/lkml/2022/1/24/264

Sergio Paracuellos (2):
  PCI: mt7621: drop 'of_match_ptr' to fix -Wunused-const-variable
  PCI: mt7621: remove unused function pcie_rmw()

 drivers/pci/controller/pcie-mt7621.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Comments

Bjorn Helgaas Jan. 26, 2022, 12:04 a.m. UTC | #1
On Mon, Jan 24, 2022 at 12:30:01PM +0100, Sergio Paracuellos wrote:
> Kernel test robot complains about two things here[0]:
> - pcie_rmw() [-Wunused-function]
> - 'mt7621_pcie_ids' [-Wunused-const-variable]
> 
> Address this two warnings in this small two patches.
> 
> Best regards,
>     Sergio Paracuellos
> 
> [0]: https://lkml.org/lkml/2022/1/24/264
> 
> Sergio Paracuellos (2):
>   PCI: mt7621: drop 'of_match_ptr' to fix -Wunused-const-variable
>   PCI: mt7621: remove unused function pcie_rmw()
> 
>  drivers/pci/controller/pcie-mt7621.c | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)

Both applied to for-linus for v5.17, thank you!
Sergio Paracuellos Jan. 26, 2022, 6:12 a.m. UTC | #2
On Wed, Jan 26, 2022 at 1:04 AM Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> On Mon, Jan 24, 2022 at 12:30:01PM +0100, Sergio Paracuellos wrote:
> > Kernel test robot complains about two things here[0]:
> > - pcie_rmw() [-Wunused-function]
> > - 'mt7621_pcie_ids' [-Wunused-const-variable]
> >
> > Address this two warnings in this small two patches.
> >
> > Best regards,
> >     Sergio Paracuellos
> >
> > [0]: https://lkml.org/lkml/2022/1/24/264
> >
> > Sergio Paracuellos (2):
> >   PCI: mt7621: drop 'of_match_ptr' to fix -Wunused-const-variable
> >   PCI: mt7621: remove unused function pcie_rmw()
> >
> >  drivers/pci/controller/pcie-mt7621.c | 11 +----------
> >  1 file changed, 1 insertion(+), 10 deletions(-)
>
> Both applied to for-linus for v5.17, thank you!

Thanks for letting me know, Bjorn.

Best regards,
    Sergio Paracuellos