]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/reset/core.c
reset: remove unnecessary local variable initialization from of_reset_control_get_by_...
[mirror_ubuntu-bionic-kernel.git] / drivers / reset / core.c
index 87376638948d9a7d1cfd0b627f3a8f76411edcd0..4a63b379361c6bc62b83baff7b52f4bf77a74c0f 100644 (file)
@@ -152,7 +152,7 @@ EXPORT_SYMBOL_GPL(reset_control_status);
 struct reset_control *of_reset_control_get_by_index(struct device_node *node,
                                           int index)
 {
-       struct reset_control *rstc = ERR_PTR(-EPROBE_DEFER);
+       struct reset_control *rstc;
        struct reset_controller_dev *r, *rcdev;
        struct of_phandle_args args;
        int rstc_id;