diff options
Diffstat (limited to 'drivers/gpu/drm/xe/display/xe_initial_plane.c')
| -rw-r--r-- | drivers/gpu/drm/xe/display/xe_initial_plane.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/xe/display/xe_initial_plane.c b/drivers/gpu/drm/xe/display/xe_initial_plane.c index 0007337c60da..95000f8b0662 100644 --- a/drivers/gpu/drm/xe/display/xe_initial_plane.c +++ b/drivers/gpu/drm/xe/display/xe_initial_plane.c @@ -277,15 +277,6 @@ nofb: static void xe_plane_config_fini(struct intel_initial_plane_config *plane_config) { - if (plane_config->fb) { - struct drm_framebuffer *fb = &plane_config->fb->base; - - /* We may only have the stub and not a full framebuffer */ - if (drm_framebuffer_read_refcount(fb)) - drm_framebuffer_put(fb); - else - kfree(fb); - } } const struct intel_display_initial_plane_interface xe_display_initial_plane_interface = { |
