virtio: pci: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 2 Dec 2013 20:14:01 +0000 (06:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 4 Dec 2013 03:50:26 +0000 (14:20 +1030)
commit7d2dddda5c928f349a01f1d5ca8ee5e9d4283c7a
tree9faa12df6934ec5c3856c0896dbf92f6c7318590
parentaf91706d5ddecb4a9858cca9e90d463037cfd498
virtio: pci: 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: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci.c
This page took 0.025592 seconds and 5 git commands to generate.