Commit ebf5ce12 authored by Eric Sandeen's avatar Eric Sandeen Committed by Linus Torvalds

[PATCH] warning cleanup for drivers_char_mxser.c

parent 91bc943d
......@@ -650,7 +650,7 @@ int mxser_init(void)
n = (sizeof(mxser_pcibrds) / sizeof(mxser_pcibrds[0])) - 1;
index = 0;
for (b = 0; b < n; b++) {
while (pdev = pci_find_device(mxser_pcibrds[b].vendor, mxser_pcibrds[b].device, pdev))
while ((pdev = pci_find_device(mxser_pcibrds[b].vendor, mxser_pcibrds[b].device, pdev)))
{
if (pci_enable_device(pdev))
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment