|
@@ -370,7 +370,6 @@ static int fsl_of_msi_probe(struct platform_device *dev)
|
|
|
struct fsl_msi *msi;
|
|
|
struct resource res;
|
|
|
int err, i, j, irq_index, count;
|
|
|
- int rc;
|
|
|
const u32 *p;
|
|
|
const struct fsl_msi_feature *features;
|
|
|
int len;
|
|
@@ -431,8 +430,8 @@ static int fsl_of_msi_probe(struct platform_device *dev)
|
|
|
*/
|
|
|
msi->phandle = dev->dev.of_node->phandle;
|
|
|
|
|
|
- rc = fsl_msi_init_allocator(msi);
|
|
|
- if (rc) {
|
|
|
+ err = fsl_msi_init_allocator(msi);
|
|
|
+ if (err) {
|
|
|
dev_err(&dev->dev, "Error allocating MSI bitmap\n");
|
|
|
goto error_out;
|
|
|
}
|