These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / tty / serial / ioc3_serial.c
index abd7ea2..27b5fef 100644 (file)
@@ -2137,7 +2137,8 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd)
 
        /* register port with the serial core */
 
-       if ((ret = ioc3_serial_core_attach(is, idd)))
+       ret = ioc3_serial_core_attach(is, idd);
+       if (ret)
                goto out4;
 
        Num_of_ioc3_cards++;