diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-10-19 13:18:14 +0300 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-10-23 10:29:42 +0300 |
commit | afee695adc4879d88a7d7d25d6a5e87de3986d10 (patch) | |
tree | 6526a4ac9e41a21ff10fa9a8936744bf0b83c57a /libweston | |
parent | b07de934ccc8783a48b1055d0207dc06701eeb31 (diff) |
compositor-wayland: remove unused 'scale'
This member is only ever set and never read, therefore it is dead.
Delete dead code.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Acked-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'libweston')
-rw-r--r-- | libweston/compositor-wayland.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c index 33910316..d61f08c1 100644 --- a/libweston/compositor-wayland.c +++ b/libweston/compositor-wayland.c @@ -130,7 +130,6 @@ struct wayland_output { } shm; struct weston_mode mode; - uint32_t scale; struct wl_callback *frame_cb; }; @@ -1338,7 +1337,6 @@ wayland_output_set_size(struct weston_output *base, int width, int height) output->mode.width = output_width; output->mode.height = output_height; output->mode.refresh = 60000; - output->scale = output->base.scale; wl_list_insert(&output->base.mode_list, &output->mode.link); output->base.current_mode = &output->mode; |