diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-08-25 10:23:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:06:57 -0400 |
commit | d9bf2c037754f1493323829048d6210602712a43 (patch) | |
tree | 0176609c95a0bf775fa53387872306ca82f47487 /drivers/media/dvb/ttpci/av7110.c | |
parent | 71be258bd9bf41ca3060021f2ed50ad8c672a01e (diff) |
V4L/DVB (6102): dvb: remove some unneeded vmalloc() return value casts from av7110
vmalloc() returns void * - no need to cast it.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index aecfdeb8ec43..8b8144f77a73 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c | |||
@@ -1542,7 +1542,7 @@ static int get_firmware(struct av7110* av7110) | |||
1542 | } | 1542 | } |
1543 | 1543 | ||
1544 | /* check if the firmware is available */ | 1544 | /* check if the firmware is available */ |
1545 | av7110->bin_fw = (unsigned char *) vmalloc(fw->size); | 1545 | av7110->bin_fw = vmalloc(fw->size); |
1546 | if (NULL == av7110->bin_fw) { | 1546 | if (NULL == av7110->bin_fw) { |
1547 | dprintk(1, "out of memory\n"); | 1547 | dprintk(1, "out of memory\n"); |
1548 | release_firmware(fw); | 1548 | release_firmware(fw); |