Commit bbdedd8f authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: remove pending_events

PendingEvents is unused, so remove it
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ff274f25
......@@ -741,8 +741,6 @@ int pcmcia_register_client(client_handle_t *handle, client_reg_t *req)
if ((s->state & (SOCKET_PRESENT|SOCKET_CARDBUS)) == SOCKET_PRESENT) {
if (client->EventMask & CS_EVENT_CARD_INSERTION)
EVENT(client, CS_EVENT_CARD_INSERTION, CS_EVENT_PRI_LOW);
else
client->PendingEvents |= CS_EVENT_CARD_INSERTION;
}
up(&s->skt_sem);
......
......@@ -165,7 +165,7 @@ struct pcmcia_device {
dev_info_t dev_info;
u_int Attributes;
u_int state;
event_t EventMask, PendingEvents;
event_t EventMask;
int (*event_handler) (event_t event, int priority,
event_callback_args_t *);
event_callback_args_t event_callback_args;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment