]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/ia64/sn/kernel/tiocx.c
Pull altix-fpga-reset into release branch
[linux-3.10.git] / arch / ia64 / sn / kernel / tiocx.c
index d8664715764ba5912c1523f5ec2b0a77815ec301..e0819ec53116bfc477edd4e3ce46f4b2629415da 100644 (file)
@@ -192,7 +192,7 @@ cx_device_register(nasid_t nasid, int part_num, int mfg_num,
 {
        struct cx_dev *cx_dev;
 
-       cx_dev = kcalloc(1, sizeof(struct cx_dev), GFP_KERNEL);
+       cx_dev = kzalloc(sizeof(struct cx_dev), GFP_KERNEL);
        DBG("cx_dev= 0x%p\n", cx_dev);
        if (cx_dev == NULL)
                return -ENOMEM;