提交 423a5308 编写于 作者: G Geert Uytterhoeven 提交者: Florian Tobias Schandinat

fbdev/amifb: Remove superfluous casts when assigning void *

Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
上级 78ffd70e
...@@ -2411,7 +2411,7 @@ static int amifb_check_var(struct fb_var_screeninfo *var, ...@@ -2411,7 +2411,7 @@ static int amifb_check_var(struct fb_var_screeninfo *var,
static int amifb_set_par(struct fb_info *info) 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_pan = 0;
do_vmode_full = 0; do_vmode_full = 0;
...@@ -3181,7 +3181,7 @@ static inline void xor_one_line(int bpp, unsigned long next_plane, ...@@ -3181,7 +3181,7 @@ static inline void xor_one_line(int bpp, unsigned long next_plane,
static void amifb_fillrect(struct fb_info *info, static void amifb_fillrect(struct fb_info *info,
const struct fb_fillrect *rect) 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; int dst_idx, x2, y2;
unsigned long *dst; unsigned long *dst;
u32 width, height; u32 width, height;
...@@ -3259,7 +3259,7 @@ static inline void copy_one_line_rev(int bpp, unsigned long next_plane, ...@@ -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, static void amifb_copyarea(struct fb_info *info,
const struct fb_copyarea *area) const struct fb_copyarea *area)
{ {
struct amifb_par *par = (struct amifb_par *)info->par; struct amifb_par *par = info->par;
int x2, y2; int x2, y2;
u32 dx, dy, sx, sy, width, height; u32 dx, dy, sx, sy, width, height;
unsigned long *dst, *src; unsigned long *dst, *src;
...@@ -3352,7 +3352,7 @@ static inline void expand_one_line(int bpp, unsigned long next_plane, ...@@ -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) 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; int x2, y2;
unsigned long *dst; unsigned long *dst;
int dst_idx; int dst_idx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册