[bus] Don't handle IRP_MJ_PNP IRP_MN_QUERY_ID
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Wed, 29 Dec 2010 18:42:14 +0000 (13:42 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Wed, 29 Dec 2010 18:42:14 +0000 (13:42 -0500)
We'll handle this at some point later, but the main bus
didn't support it anyway with an actual function to
provide IDs with.  The AoE bus does, but how it's put
together is going to change, anyway.

src/winvblock/bus/pnp.c

index 2221cfa..d48b4cd 100644 (file)
@@ -367,13 +367,7 @@ winvblock__lib_func NTSTATUS STDCALL WvBusPnp(
     IN PIRP irp,
     IN UCHAR code
   ) {
-    WV_SP_DEV_T dev = &bus->Dev;
-
     switch (code) {
-        case IRP_MN_QUERY_ID:
-          DBG("bus_pnp: IRP_MN_QUERY_ID\n");
-          return WvDevPnpQueryId(dev, irp);
-
         case IRP_MN_QUERY_DEVICE_TEXT:
           DBG("bus_pnp: IRP_MN_QUERY_DEVICE_TEXT\n");
           return bus->QueryDevText(bus, irp);