linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / isdn / hardware / avm / b1dma.c
index d2c69b7..91dd055 100644 (file)
@@ -839,8 +839,6 @@ u16 b1dma_send_message(struct capi_ctr *ctrl, struct sk_buff *skb)
        }
        if (retval == CAPI_NOERROR) 
                b1dma_queue_tx(card, skb);
-       else
-               dev_kfree_skb_any(skb);
 
        return retval;
 }
@@ -957,7 +955,7 @@ EXPORT_SYMBOL(b1dma_release_appl);
 EXPORT_SYMBOL(b1dma_send_message);
 EXPORT_SYMBOL(b1dmactl_read_proc);
 
-int b1dma_init(void)
+static int __init b1dma_init(void)
 {
        char *p;
        char rev[32];
@@ -974,7 +972,7 @@ int b1dma_init(void)
        return 0;
 }
 
-void b1dma_exit(void)
+static void __exit b1dma_exit(void)
 {
 }