Skip to content

Commit

Permalink
Staging: hv: mouse: Get rid of the unused PCI signature
Browse files Browse the repository at this point in the history
Get rid of  the unused  PCI signature in the mouse driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 5585d81 commit 18d08af
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/hiddev.h>
#include <linux/pci.h>
#include <linux/dmi.h>

#include "hyperv.h"

Expand Down Expand Up @@ -935,26 +933,6 @@ static void __exit mousevsc_exit(void)
vmbus_driver_unregister(&mousevsc_drv);
}

/*
* We don't want to automatically load this driver just yet, it's quite
* broken. It's safe if you want to load it yourself manually, but
* don't inflict it on unsuspecting users, that's just mean.
*/
#if 0

/*
* We use a PCI table to determine if we should autoload this driver This is
* needed by distro tools to determine if the hyperv drivers should be
* installed and/or configured. We don't do anything else with the table, but
* it needs to be present.
*/
static const struct pci_device_id microsoft_hv_pci_table[] = {
{ PCI_DEVICE(0x1414, 0x5353) }, /* VGA compatible controller */
{ 0 }
};
MODULE_DEVICE_TABLE(pci, microsoft_hv_pci_table);
#endif

MODULE_LICENSE("GPL");
MODULE_VERSION(HV_DRV_VERSION);
module_init(mousevsc_init);
Expand Down

0 comments on commit 18d08af

Please sign in to comment.