Skip to contentSkip to conversation

bonding: remove an unused function

PATCH New Adrian Bunk 1 participant 2 messages Oct 28, 2004 – Oct 29, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bonding: remove an unused function

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unsed function from
drivers/net/bonding/bond_3ad.c

diffstat output:

 drivers/net/bonding/bond_3ad.c |   10 ----------
 1 files changed, 10 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/net/bonding/bond_3ad.c.old 2004-10-28 23:18:00.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/net/bonding/bond_3ad.c 2004-10-28 23:18:19.000000000 +0200
@@ -130,7 +130,6 @@
static u16 __get_link_speed(struct port *port);
static u8 __get_duplex(struct port *port);
static inline void __initialize_port_locks(struct port *port);
- -static inline void __deinitialize_port_locks(struct port *port); //conversions
static void __ntohs_lacpdu(struct lacpdu *lacpdu);
static u16 __ad_timer_to_ticks(u16 timer_type, u16 Par);
@@ -445,15 +444,6 @@
spin_lock_init(&(SLAVE_AD_INFO(port->slave).rx_machine_lock));
}

- -/**
- - * __deinitialize_port_locks - deinitialize a port's RX machine spinlock
- - * @port: the port we're looking at
- - *
- - */
- -static inline void __deinitialize_port_locks(struct port *port)
- -{
- -}
- -
//conversions
/**
* __ntohs_lacpdu - convert the contents of a LACPDU to host byte order

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgW7LmfzqmE8StAARAk7TAJ0cVwlvMQ1fX3f9lEs9Rs6zQ17q9gCff6im vqlZA3/rLdhqLNRTdU3aVgM=
=eHej
-----END PGP SIGNATURE-----

#1 lore raw

PATCH 1/1 bonding: remove an unused function

[ this time without the problems due to a digital signature... ]

The patch below removes an unsed function from
drivers/net/bonding/bond_3ad.c

diffstat output:

 drivers/net/bonding/bond_3ad.c |   10 ----------
 1 files changed, 10 deletions(-)
drivers/net/bonding/bond_3ad.c renamed from drivers/net/bonding/bond_3ad.c.old +0 -10
@@ -130,7 +130,6 @@
 static u16 __get_link_speed(struct port *port);
 static u8 __get_duplex(struct port *port);
 static inline void __initialize_port_locks(struct port *port);
-static inline void __deinitialize_port_locks(struct port *port);
 //conversions
 static void __ntohs_lacpdu(struct lacpdu *lacpdu);
 static u16 __ad_timer_to_ticks(u16 timer_type, u16 Par);
@@ -445,15 +444,6 @@
 	spin_lock_init(&(SLAVE_AD_INFO(port->slave).rx_machine_lock));
 }
 
-/**
- * __deinitialize_port_locks - deinitialize a port's RX machine spinlock
- * @port: the port we're looking at
- *
- */
-static inline void __deinitialize_port_locks(struct port *port)
-{
-}
-
 //conversions
 /**
  * __ntohs_lacpdu - convert the contents of a LACPDU to host byte order