From: Dominik Brodowski Date: Wed, 28 Sep 2005 17:41:55 +0000 (+0200) Subject: [PATCH] pcmcia: remove socket register_callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f316b033b36adfbdf56bfb15c13de49798ab0b2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] pcmcia: remove socket register_callback Remove the register_callback declaration in struct pccard_operations as it is unused. Signed-off-by: Dominik Brodowski --- diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index e788bbc5657d..25e6bf05e25c 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h @@ -118,7 +118,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);