mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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:
commit
efa3158183
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue