[PATCH -next] net: thunderx: Remove unnecessary pci_set_drvdata()

David Miller davem at davemloft.net
Mon Aug 15 16:35:03 PDT 2016


From: Wei Yongjun <weiyj.lk at gmail.com>
Date: Mon, 15 Aug 2016 22:51:29 +0000

> The driver core clears the driver data to NULL after device_release
> or on probe failure. Thus, it is not needed to manually clear the
> device driver data to NULL.
> 
> Signed-off-by: Wei Yongjun <weiyj.lk at gmail.com>

Applied.



More information about the linux-arm-kernel mailing list