[PATCH] PPC64: convert kcalloc to kzalloc
[sfrench/cifs-2.6.git] / arch / ppc64 / kernel / pSeries_reconfig.c
index dc2a69d412a204820546107a47ab7c676036a7de..58c61219d08e0765646450c30cba107936db01ab 100644 (file)
@@ -111,7 +111,7 @@ static int pSeries_reconfig_add_node(const char *path, struct property *proplist
        struct device_node *np;
        int err = -ENOMEM;
 
-       np = kcalloc(1, sizeof(*np), GFP_KERNEL);
+       np = kzalloc(sizeof(*np), GFP_KERNEL);
        if (!np)
                goto out_err;