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:
Коммит
efa3158183
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче