Re: [PATCH V5 net-next 01/21] net-next/hinic: Initialize hw interface
From: Stephen Hemminger
Date: Thu Aug 17 2017 - 20:45:53 EST
On Thu, 17 Aug 2017 19:52:42 +0800
Aviad Krawczyk <aviad.krawczyk@xxxxxxxxxx> wrote:
> + nic_dev = (struct hinic_dev *)netdev_priv(netdev);
Sinc netdev_priv() returns void *, a cast is not necessary here.