Commit 0107e9ab authored by Eric Engestrom's avatar Eric Engestrom

drm-atomic.c: remove unused variables `i`

Signed-off-by: 's avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 244ff668
......@@ -108,7 +108,6 @@ static int drm_atomic_commit(uint32_t fb_id, uint32_t flags)
drmModeAtomicReq *req;
uint32_t plane_id = drm.plane->plane->plane_id;
uint32_t blob_id;
unsigned int i;
int ret;
req = drmModeAtomicAlloc();
......@@ -320,7 +319,7 @@ static int get_plane_id(void)
const struct drm * init_drm_atomic(const char *device)
{
uint32_t plane_id;
int i, ret;
int ret;
ret = init_drm(&drm, device);
if (ret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment