From: Martin Schiller <ms@dev.tdt.de>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.