Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27e81107 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: Remove redundant pci_set_drvdata



Driver core sets driver data to NULL upon failure or remove.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fddd143f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1153,10 +1153,6 @@ static void device_free_info(PSDevice pDevice) {
		pci_release_regions(pDevice->pcid);
	if (dev)
		free_netdev(dev);

	if (pDevice->pcid) {
		pci_set_drvdata(pDevice->pcid, NULL);
	}
}

static bool device_init_rings(PSDevice pDevice) {