summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-11-21 21:53:56 +0100
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-12-03 22:03:32 +0000
commit423a53086ce4095ee66e95778dbbcd6d8c7f3529 (patch)
tree83097fe35fb389a5e9386944bd2a78312693fcb4 /drivers/video
parent78ffd70e6a717600d16567e2611f83a2375f3c55 (diff)
downloadlinux-3.10-423a53086ce4095ee66e95778dbbcd6d8c7f3529.tar.gz
linux-3.10-423a53086ce4095ee66e95778dbbcd6d8c7f3529.tar.bz2
linux-3.10-423a53086ce4095ee66e95778dbbcd6d8c7f3529.zip
fbdev/amifb: Remove superfluous casts when assigning void *
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/amifb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index d3847e70f99..421c1f9d74a 100644
--- a/drivers/video/amifb.c
+++ b/drivers/video/amifb.c
@@ -2411,7 +2411,7 @@ static int amifb_check_var(struct fb_var_screeninfo *var,
static int amifb_set_par(struct fb_info *info)
{
- struct amifb_par *par = (struct amifb_par *)info->par;
+ struct amifb_par *par = info->par;
do_vmode_pan = 0;
do_vmode_full = 0;
@@ -3181,7 +3181,7 @@ static inline void xor_one_line(int bpp, unsigned long next_plane,
static void amifb_fillrect(struct fb_info *info,
const struct fb_fillrect *rect)
{
- struct amifb_par *par = (struct amifb_par *)info->par;
+ struct amifb_par *par = info->par;
int dst_idx, x2, y2;
unsigned long *dst;
u32 width, height;
@@ -3259,7 +3259,7 @@ static inline void copy_one_line_rev(int bpp, unsigned long next_plane,
static void amifb_copyarea(struct fb_info *info,
const struct fb_copyarea *area)
{
- struct amifb_par *par = (struct amifb_par *)info->par;
+ struct amifb_par *par = info->par;
int x2, y2;
u32 dx, dy, sx, sy, width, height;
unsigned long *dst, *src;
@@ -3352,7 +3352,7 @@ static inline void expand_one_line(int bpp, unsigned long next_plane,
static void amifb_imageblit(struct fb_info *info, const struct fb_image *image)
{
- struct amifb_par *par = (struct amifb_par *)info->par;
+ struct amifb_par *par = info->par;
int x2, y2;
unsigned long *dst;
int dst_idx;