[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git] / drivers / media / video / usbvideo / usbvideo.c
index d8b88024bc2fa4ad93015b70078704e41ab78ffb..b560c9d7c5168f492809ddab1308d64fab75e297 100644 (file)
@@ -690,7 +690,7 @@ int usbvideo_register(
        }
 
        base_size = num_cams * sizeof(struct uvd) + sizeof(struct usbvideo);
-       cams = (struct usbvideo *) kzalloc(base_size, GFP_KERNEL);
+       cams = kzalloc(base_size, GFP_KERNEL);
        if (cams == NULL) {
                err("Failed to allocate %d. bytes for usbvideo struct", base_size);
                return -ENOMEM;