Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio_pci_modern: drop an unused function

release function in modern driver is unused:
it's a left-over from when each driver had
to have its own release.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

authored by

Michael S. Tsirkin and committed by
Rusty Russell
76545f06 ac399d8f

-8
-8
drivers/virtio/virtio_pci_modern.c
··· 489 489 return 0; 490 490 } 491 491 492 - static void virtio_pci_release_dev(struct device *_d) 493 - { 494 - struct virtio_device *vdev = dev_to_virtio(_d); 495 - struct virtio_pci_device *vp_dev = to_vp_device(vdev); 496 - 497 - kfree(vp_dev); 498 - } 499 - 500 492 /* This is part of the ABI. Don't screw with it. */ 501 493 static inline void check_offsets(void) 502 494 {