]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: qlge: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 22 Oct 2013 04:15:36 +0000 (13:15 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:11:51 +0000 (02:11 -0400)
commitf9c4cd97b600c0e404e98cec7326e15c2e394480
tree05cadc8a828bcf8f4aa23da611dcff44e1770976
parentb23eb795267fb32113c204870ecfadba2a7ecf7c
net: qlge: remove unnecessary pci_set_drvdata()

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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c