[PATCH 5/8] pcmcia: remove register_callback

Dominik Brodowski linux at dominikbrodowski.net
Sat Sep 24 15:58:21 EDT 2005


Remove the register_callback declaration in struct pccard_operations as it
is unused.

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>

Index: 2.6.14-rc2/include/pcmcia/ss.h
===================================================================
--- 2.6.14-rc2.orig/include/pcmcia/ss.h
+++ 2.6.14-rc2/include/pcmcia/ss.h
@@ -117,7 +117,6 @@ struct pcmcia_socket;
 struct pccard_operations {
 	int (*init)(struct pcmcia_socket *sock);
 	int (*suspend)(struct pcmcia_socket *sock);
-	int (*register_callback)(struct pcmcia_socket *sock, void (*handler)(void *, unsigned int), void * info);
 	int (*get_status)(struct pcmcia_socket *sock, u_int *value);
 	int (*get_socket)(struct pcmcia_socket *sock, socket_state_t *state);
 	int (*set_socket)(struct pcmcia_socket *sock, socket_state_t *state);



More information about the linux-pcmcia mailing list