i40e: Implement ndo_features_check()
[deliverable/linux.git] / drivers / clk / clk-fractional-divider.c
index 6aa72d9d79bad43d5c8f79f47fa30134d710a624..140eb5844dc4b86d1fb6b7034b5c375117dee0f8 100644 (file)
@@ -109,10 +109,8 @@ struct clk *clk_register_fractional_divider(struct device *dev,
        struct clk *clk;
 
        fd = kzalloc(sizeof(*fd), GFP_KERNEL);
-       if (!fd) {
-               dev_err(dev, "could not allocate fractional divider clk\n");
+       if (!fd)
                return ERR_PTR(-ENOMEM);
-       }
 
        init.name = name;
        init.ops = &clk_fractional_divider_ops;
This page took 0.028885 seconds and 5 git commands to generate.