Merge branch 'remotes/lorenzo/pci/versatile'

- Drop unnecessary "retval" variable, since it's never read (Colin Ian
  King)

* remotes/lorenzo/pci/versatile:
  PCI: versatile: Remove redundant variable retval
This commit is contained in:
Bjorn Helgaas 2022-05-24 16:42:27 -05:00
commit efa3158183
1 changed files with 1 additions and 2 deletions

View File

@ -31,10 +31,9 @@ static u32 pci_slot_ignore;
static int __init versatile_pci_slot_ignore(char *str)
{
int retval;
int slot;
while ((retval = get_option(&str, &slot))) {
while (get_option(&str, &slot)) {
if ((slot < 0) || (slot > 31))
pr_err("Illegal slot value: %d\n", slot);
else