]> Zhao Yanbai Git Server - minix.git/commitdiff
at_wini: remove unnecessary quirks debug message
authorBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 14:19:40 +0000 (14:19 +0000)
committerBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 14:19:40 +0000 (14:19 +0000)
drivers/at_wini/at_wini.c

index 039760890a1141c7e2d526f9301fe5849660f15a..13b53b01a910b2aa20336bf774c7717590cb8d90 100644 (file)
@@ -401,22 +401,17 @@ PRIVATE void init_drive(struct wini *w, int base_cmd, int base_ctl,
 PRIVATE int quirkmatch(struct quirk *table, u8_t bcr, u8_t scr, u8_t interface, u16_t vid, u16_t did) {
        int i = 0;
 
-       printf("matching 0x%x 0x%x 0x%x , vid 0x%x did 0x%x for quirks\n",
-               bcr, scr, interface, vid, did);
-
        while(table->vendor) {
                if(table->vendor == vid && table->device == did &&
                        table->pci_class == bcr &&
                        table->pci_subclass == scr &&
                        (table->pci_interface == -1 ||
                                table->pci_interface == interface)) {
-                       printf("found\n");
                        return 1;
                }
                table++;
        }
 
-       printf("not found\n");
        return 0;
 }