Tag: c8843b1f1d134f3e14cd357a74c2d1de52ccf884

staging: rdma: hfi1: Remove unnecessary pci_set_drvdata()

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Unnecessary pci_set_drvdata() has been removed since the driver core clears the driver data to NULL after device release or on probe failure. There is no need to manually clear the device driver data to NULL. The Coccinelle semantic patch used to make this change is as follows: // @@ struct …

Continue reading