Skip to contentSkip to conversation

2.6 ISDN Eicon driver: remove unused code

PATCH New Armin Schindler 1 participant 1 message Jan 31, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 2.6 ISDN Eicon driver: remove unused code

Remove code from platform independent code, which is not used in Linux.

drivers/isdn/hardware/eicon/io.c +0 -10
diff -Nur linux.orig/drivers/isdn/hardware/eicon/io.c linux/drivers/isdn/hardware/eicon/io.c
@@ -227,10 +227,6 @@
         if (pI->descriptor_number >= 0) {
           dword dma_magic;
           void* local_addr;
-#if 0
-          DBG_TRC(("A(%d) dma_alloc(%d)",
-                   IoAdapter->ANum, pI->descriptor_number))
-#endif
           diva_get_dma_map_entry (\
                                (struct _diva_dma_map_entry*)IoAdapter->dma_map,
                                pI->descriptor_number,
@@ -243,9 +239,6 @@
         }
       } else if ((pI->operation == IDI_SYNC_REQ_DMA_DESCRIPTOR_FREE) &&
                  (pI->descriptor_number >= 0)) {
-#if 0
-        DBG_TRC(("A(%d) dma_free(%d)", IoAdapter->ANum, pI->descriptor_number))
-#endif
         diva_free_dma_map_entry((struct _diva_dma_map_entry*)IoAdapter->dma_map,
                                 pI->descriptor_number);
         pI->descriptor_number = -1;
@@ -369,9 +362,6 @@
   }
   if ( IoAdapter )
   {
-#if 0
-   DBG_FTL(("xdi: unknown Req 0 / Rc %d !", e->Rc))
-#endif
    return ;
   }
  }
drivers/isdn/hardware/eicon/s_4bri.c +0 -497

506 lines not on this page · raw message

drivers/isdn/hardware/eicon/s_bri.c +0 -347

356 lines not on this page · raw message

drivers/isdn/hardware/eicon/s_pri.c +0 -362

371 lines not on this page · raw message