diff options
author | Joe Perches <joe@perches.com> | 2010-06-29 06:29:29 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 20:00:41 +0200 |
commit | 806ec0fb561b0384f1da6932960643786eac8ec6 (patch) | |
tree | 496256e1e3a54cc2d1a981f200003f7a475248e4 /drivers/media/dvb/siano | |
parent | V4L/DVB: IR/mceusb: add tx callback functions and wire up (diff) | |
download | linux-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/dvb/siano')
-rw-r--r-- | drivers/media/dvb/siano/smscoreapi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.c b/drivers/media/dvb/siano/smscoreapi.c index 0c87a3c3899a..828bcc2e129b 100644 --- a/drivers/media/dvb/siano/smscoreapi.c +++ b/drivers/media/dvb/siano/smscoreapi.c @@ -116,9 +116,7 @@ static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) return entry; } } - entry = (struct smscore_registry_entry_t *) - kmalloc(sizeof(struct smscore_registry_entry_t), - GFP_KERNEL); + entry = kmalloc(sizeof(struct smscore_registry_entry_t), GFP_KERNEL); if (entry) { entry->mode = default_mode; strcpy(entry->devpath, devpath); |