Re: [PATCH v3 1/2] wan/hdlc_x25: make lapb params configurable

From: David Miller
Date: Mon Jan 20 2020 - 07:14:34 EST


From: Martin Schiller <ms@xxxxxxxxxx>
Date: Mon, 20 Jan 2020 07:14:15 +0100

> +static struct x25_state *state(hdlc_device *hdlc)
> +{
> + return (struct x25_state *)hdlc->state;
> +}

Because hdlc->state is "void *", this cast is unnecessary.