[PATCH v6 03/15] net/xsc: add xsc mailbox
Stephen Hemminger
stephen at networkplumber.org
Mon Jan 20 19:18:38 CET 2025
On Mon, 20 Jan 2025 19:14:37 +0800
"WanRenyong" <wanry at yunsilicon.com> wrote:
> +static void
> +xsc_cmdq_mbox_free(struct xsc_dev *xdev, struct xsc_cmdq_mbox *mbox)
> +{
> + struct xsc_cmdq_mbox *next, *head;
> + struct xsc_vfio_priv *priv = (struct xsc_vfio_priv *)xdev->dev_priv;
Since dev_priv is void *, the cast here is unnecessary in C
More information about the dev
mailing list