Commit b0c44a5
committed
PCI/MSI: Set pci_dev:: Msi_enabled late
The comment claiming that pci_dev::msi_enabled has to be set across setup
is a leftover from ancient code versions. Nothing in the setup code
requires the flag to be set anymore.
Set it in the success path and remove the extra goto label.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/all/20250319105506.383222333@linutronix.de1 parent 497f68c commit b0c44a5
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
| 361 | + | |
365 | 362 | | |
366 | | - | |
367 | 363 | | |
368 | 364 | | |
369 | 365 | | |
370 | 366 | | |
371 | 367 | | |
372 | 368 | | |
373 | 369 | | |
374 | | - | |
| 370 | + | |
375 | 371 | | |
376 | 372 | | |
377 | 373 | | |
| |||
393 | 389 | | |
394 | 390 | | |
395 | 391 | | |
| 392 | + | |
396 | 393 | | |
397 | 394 | | |
398 | 395 | | |
| |||
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
406 | | - | |
407 | | - | |
408 | 403 | | |
409 | 404 | | |
410 | 405 | | |
| |||
0 commit comments