]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/comedi/drivers/unioxx5.c
Staging: Drop memory allocation cast
[net-next-2.6.git] / drivers / staging / comedi / drivers / unioxx5.c
index be1d83df0de51bd9448ed18de1daca41c6cc2e54..16d4c9f69165726867007d6f43e3e11c2859d6be 100644 (file)
@@ -285,7 +285,7 @@ static int __unioxx5_subdev_init(struct comedi_subdevice *subdev,
                return -EIO;
        }
 
-       usp = (struct unioxx5_subd_priv *)kzalloc(sizeof(*usp), GFP_KERNEL);
+       usp = kzalloc(sizeof(*usp), GFP_KERNEL);
 
        if (usp == NULL) {
                printk(KERN_ERR "comedi%d: erorr! --> out of memory!\n", minor);