[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200120.131424.39658950858121597.davem@davemloft.net>
Date: Mon, 20 Jan 2020 13:14:24 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: ms@....tdt.de
Cc: kubakici@...pl, khc@...waw.pl, linux-x25@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] wan/hdlc_x25: make lapb params configurable
From: Martin Schiller <ms@....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.
Powered by blists - more mailing lists