netdev
[Top] [All Lists]

[PATCH] mark vcc_remove_socket static

To: davem@xxxxxxxxxx
Subject: [PATCH] mark vcc_remove_socket static
From: Christoph Hellwig <hch@xxxxxx>
Date: Sun, 24 Oct 2004 15:26:42 +0200
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
--- 1.33/include/linux/atmdev.h 2004-10-21 06:51:48 +02:00
+++ edited/include/linux/atmdev.h       2004-10-23 16:06:06 +02:00
@@ -395,7 +395,6 @@
 void atm_dev_deregister(struct atm_dev *dev);
 void shutdown_atm_dev(struct atm_dev *dev);
 void vcc_insert_socket(struct sock *sk);
-void vcc_remove_socket(struct sock *sk);
 
 
 /*
--- 1.55/net/atm/common.c       2004-10-21 06:50:41 +02:00
+++ edited/net/atm/common.c     2004-10-23 16:06:20 +02:00
@@ -57,7 +57,7 @@
        write_unlock_irq(&vcc_sklist_lock);
 }
 
-void vcc_remove_socket(struct sock *sk)
+static void vcc_remove_socket(struct sock *sk)
 {
        write_lock_irq(&vcc_sklist_lock);
        sk_del_node_init(sk);
@@ -86,7 +86,6 @@
 EXPORT_SYMBOL(vcc_hash);
 EXPORT_SYMBOL(vcc_sklist_lock);
 EXPORT_SYMBOL(vcc_insert_socket);
-EXPORT_SYMBOL(vcc_remove_socket);
 
 static void vcc_sock_destruct(struct sock *sk)
 {

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] mark vcc_remove_socket static, Christoph Hellwig <=