From: Ben Gras Date: Wed, 28 Apr 2010 14:19:40 +0000 (+0000) Subject: at_wini: remove unnecessary quirks debug message X-Git-Tag: v3.1.7~103 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/named-checkconf.html?a=commitdiff_plain;h=603ed23ebd69dd7a16a5f98aeeeb096b258b016c;p=minix.git at_wini: remove unnecessary quirks debug message --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 039760890..13b53b01a 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -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; }