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%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 e788bbc5657..25e6bf05e25 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);