diff options
author | Gowtham Tammana <g-tammana@ti.com> | 2017-11-15 17:48:09 -0600 |
---|---|---|
committer | Gowtham Tammana <g-tammana@ti.com> | 2017-12-20 15:40:00 -0600 |
commit | 93ebb954edaf5c76a9ee84a98cf2dd18e25ceba9 (patch) | |
tree | 2886205ee4c46003a690ce4edd3aac930efb9981 | |
parent | 6f7cbd247b61f608c1b99a9e47eba2339f5d2775 (diff) | |
download | dra7xx-93ebb954edaf5c76a9ee84a98cf2dd18e25ceba9.tar.gz |
hwc: code cleanup: Remove obsolete num_buffers
Change-Id: If33f0609e1c09c7f2344ef4438b03db0fcf61370
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
-rw-r--r-- | hwcomposer/display.h | 1 | ||||
-rw-r--r-- | hwcomposer/hwc.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/hwcomposer/display.h b/hwcomposer/display.h index 968f660..bfd52a7 100644 --- a/hwcomposer/display.h +++ b/hwcomposer/display.h @@ -140,7 +140,6 @@ typedef struct drm_plane_props drm_plane_props_t; struct composition { buffer_handle_t *buffers; - uint32_t num_buffers; /* # of buffers used in composition */ bool use_sgx; bool use_blitter; /* blitter usage flag */ diff --git a/hwcomposer/hwc.c b/hwcomposer/hwc.c index 532a159..dbe3450 100644 --- a/hwcomposer/hwc.c +++ b/hwcomposer/hwc.c @@ -233,8 +233,6 @@ static int hwc_prepare_for_display(omap_hwc_device_t *hwc_dev, int disp) comp->ovl_indices[i] = i; } - comp->num_buffers = 0; - /* Default composition policy */ comp->use_sgx = true; comp->use_blitter = false; |