]> Git Repo - linux.git/blobdiff - drivers/fpga/fpga-mgr.c
bpf, sockmap: Avoid returning unneeded EAGAIN when redirecting to self
[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.028358 seconds and 4 git commands to generate.