Loading drivers/video/uvesafb.c +7 −12 Original line number Diff line number Diff line Loading @@ -233,7 +233,6 @@ static int uvesafb_exec(struct uvesafb_ktask *task) static void uvesafb_free(struct uvesafb_ktask *task) { if (task) { if (task->done) kfree(task->done); kfree(task); } Loading Loading @@ -1332,7 +1331,7 @@ static int uvesafb_set_par(struct fb_info *info) FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; info->fix.line_length = mode->bytes_per_scan_line; out: if (crtc != NULL) out: kfree(crtc); uvesafb_free(task); Loading Loading @@ -1793,7 +1792,6 @@ static int uvesafb_probe(struct platform_device *dev) fb_destroy_modedb(info->monspecs.modedb); fb_dealloc_cmap(&info->cmap); out: if (par->vbe_modes) kfree(par->vbe_modes); framebuffer_release(info); Loading @@ -1817,11 +1815,8 @@ static int uvesafb_remove(struct platform_device *dev) fb_dealloc_cmap(&info->cmap); if (par) { if (par->vbe_modes) kfree(par->vbe_modes); if (par->vbe_state_orig) kfree(par->vbe_state_orig); if (par->vbe_state_saved) kfree(par->vbe_state_saved); } Loading Loading
drivers/video/uvesafb.c +7 −12 Original line number Diff line number Diff line Loading @@ -233,7 +233,6 @@ static int uvesafb_exec(struct uvesafb_ktask *task) static void uvesafb_free(struct uvesafb_ktask *task) { if (task) { if (task->done) kfree(task->done); kfree(task); } Loading Loading @@ -1332,7 +1331,7 @@ static int uvesafb_set_par(struct fb_info *info) FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; info->fix.line_length = mode->bytes_per_scan_line; out: if (crtc != NULL) out: kfree(crtc); uvesafb_free(task); Loading Loading @@ -1793,7 +1792,6 @@ static int uvesafb_probe(struct platform_device *dev) fb_destroy_modedb(info->monspecs.modedb); fb_dealloc_cmap(&info->cmap); out: if (par->vbe_modes) kfree(par->vbe_modes); framebuffer_release(info); Loading @@ -1817,11 +1815,8 @@ static int uvesafb_remove(struct platform_device *dev) fb_dealloc_cmap(&info->cmap); if (par) { if (par->vbe_modes) kfree(par->vbe_modes); if (par->vbe_state_orig) kfree(par->vbe_state_orig); if (par->vbe_state_saved) kfree(par->vbe_state_saved); } Loading