[PATCH] Remove register_callback

Pavel Roskin proski at gnu.org
Wed Aug 6 00:42:14 BST 2003


Hello!

It should be OK to remove "register_callback" from include/pcmcia/ss.h -
it's completely unused.  The patch against 2.6.0-test2-bk5 is attached.

The patch has been tested.  The kernel compiles, PCMCIA works.

-- 
Regards,
Pavel Roskin-------------- next part --------------
--- linux.orig/include/pcmcia/ss.h
+++ linux/include/pcmcia/ss.h
@@ -122,7 +122,6 @@
 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