diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-21 15:53:56 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-12-03 17:03:32 -0500 |
commit | 423a53086ce4095ee66e95778dbbcd6d8c7f3529 (patch) | |
tree | 83097fe35fb389a5e9386944bd2a78312693fcb4 /drivers/video/amifb.c | |
parent | 78ffd70e6a717600d16567e2611f83a2375f3c55 (diff) |
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/amifb.c')
-rw-r--r-- | drivers/video/amifb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c index d3847e70f99e..421c1f9d74ab 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, | |||
2411 | 2411 | ||
2412 | static int amifb_set_par(struct fb_info *info) | 2412 | static int amifb_set_par(struct fb_info *info) |
2413 | { | 2413 | { |
2414 | struct amifb_par *par = (struct amifb_par *)info->par; | 2414 | struct amifb_par *par = info->par; |
2415 | 2415 | ||
2416 | do_vmode_pan = 0; | 2416 | do_vmode_pan = 0; |
2417 | do_vmode_full = 0; | 2417 | do_vmode_full = 0; |
@@ -3181,7 +3181,7 @@ static inline void xor_one_line(int bpp, unsigned long next_plane, | |||
3181 | static void amifb_fillrect(struct fb_info *info, | 3181 | static void amifb_fillrect(struct fb_info *info, |
3182 | const struct fb_fillrect *rect) | 3182 | const struct fb_fillrect *rect) |
3183 | { | 3183 | { |
3184 | struct amifb_par *par = (struct amifb_par *)info->par; | 3184 | struct amifb_par *par = info->par; |
3185 | int dst_idx, x2, y2; | 3185 | int dst_idx, x2, y2; |
3186 | unsigned long *dst; | 3186 | unsigned long *dst; |
3187 | u32 width, height; | 3187 | u32 width, height; |
@@ -3259,7 +3259,7 @@ static inline void copy_one_line_rev(int bpp, unsigned long next_plane, | |||
3259 | static void amifb_copyarea(struct fb_info *info, | 3259 | static void amifb_copyarea(struct fb_info *info, |
3260 | const struct fb_copyarea *area) | 3260 | const struct fb_copyarea *area) |
3261 | { | 3261 | { |
3262 | struct amifb_par *par = (struct amifb_par *)info->par; | 3262 | struct amifb_par *par = info->par; |
3263 | int x2, y2; | 3263 | int x2, y2; |
3264 | u32 dx, dy, sx, sy, width, height; | 3264 | u32 dx, dy, sx, sy, width, height; |
3265 | unsigned long *dst, *src; | 3265 | unsigned long *dst, *src; |
@@ -3352,7 +3352,7 @@ static inline void expand_one_line(int bpp, unsigned long next_plane, | |||
3352 | 3352 | ||
3353 | static void amifb_imageblit(struct fb_info *info, const struct fb_image *image) | 3353 | static void amifb_imageblit(struct fb_info *info, const struct fb_image *image) |
3354 | { | 3354 | { |
3355 | struct amifb_par *par = (struct amifb_par *)info->par; | 3355 | struct amifb_par *par = info->par; |
3356 | int x2, y2; | 3356 | int x2, y2; |
3357 | unsigned long *dst; | 3357 | unsigned long *dst; |
3358 | int dst_idx; | 3358 | int dst_idx; |