summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/w9968cf.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-06-29 06:29:29 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 20:00:41 +0200
commit806ec0fb561b0384f1da6932960643786eac8ec6 (patch)
tree496256e1e3a54cc2d1a981f200003f7a475248e4 /drivers/media/video/w9968cf.c
parentV4L/DVB: IR/mceusb: add tx callback functions and wire up (diff)
downloadlinux-806ec0fb561b0384f1da6932960643786eac8ec6.tar.xz
linux-806ec0fb561b0384f1da6932960643786eac8ec6.zip
V4L/DVB: smscoreapi/w9968cf: drivers/media: Remove unnecesary kmalloc casts
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r--drivers/media/video/w9968cf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c
index d807eea91757..591fc6db48fb 100644
--- a/drivers/media/video/w9968cf.c
+++ b/drivers/media/video/w9968cf.c
@@ -3429,8 +3429,7 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id)
else
return -ENODEV;
- cam = (struct w9968cf_device*)
- kzalloc(sizeof(struct w9968cf_device), GFP_KERNEL);
+ cam = kzalloc(sizeof(struct w9968cf_device), GFP_KERNEL);
if (!cam)
return -ENOMEM;