[PATCH] wayland-server: Remove unused members from struct wl_client

Pekka Paalanen ppaalanen at gmail.com
Tue Feb 28 14:42:01 UTC 2017


On Sun, 26 Feb 2017 22:55:53 +0100
Sergi Granell <xerpi.g.12 at gmail.com> wrote:

> Those struct members are no longer used so we can remove them.
> 
> Signed-off-by: Sergi Granell <xerpi.g.12 at gmail.com>
> ---
>  src/wayland-server.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/wayland-server.c b/src/wayland-server.c
> index 6a8b3e4..82a3b01 100644
> --- a/src/wayland-server.c
> +++ b/src/wayland-server.c
> @@ -74,8 +74,6 @@ struct wl_client {
>  	struct wl_event_source *source;
>  	struct wl_display *display;
>  	struct wl_resource *display_resource;
> -	uint32_t id_count;
> -	uint32_t mask;
>  	struct wl_list link;
>  	struct wl_map objects;
>  	struct wl_priv_signal destroy_signal;

A good catch! Pushed:
   680a6b3..9b78be6  master -> master

Makes me wonder if client-side wl_display has some unused ones too.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170228/e606dea3/attachment.sig>


More information about the wayland-devel mailing list