]> Git Repo - J-linux.git/blobdiff - drivers/fpga/fpga-mgr.c
Merge tag 'gvt-fixes-2020-09-17' of https://github.com/intel/gvt-linux into drm-intel...
[J-linux.git] / drivers / fpga / fpga-mgr.c
index e05104f5e40c6a492608644478bdec2ff150c461..f38bab01432e2eae6a1bc7d7bd541837c488bcb0 100644 (file)
@@ -581,10 +581,8 @@ struct fpga_manager *fpga_mgr_create(struct device *dev, const char *name,
                return NULL;
 
        id = ida_simple_get(&fpga_mgr_ida, 0, 0, GFP_KERNEL);
-       if (id < 0) {
-               ret = id;
+       if (id < 0)
                goto error_kfree;
-       }
 
        mutex_init(&mgr->ref_mutex);
 
This page took 0.025635 seconds and 4 git commands to generate.