[patch 6/21] pcmcia: remove pending_events
Dominik Brodowski
linux at dominikbrodowski.de
Fri Dec 17 05:06:53 EST 2004
PendingEvents is unused, so remove it
---
drivers/pcmcia/ds.c | 2 --
include/pcmcia/ds.h | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
Signed-off-by: Dominik Brodowski <linux at brodo.de>
Index: 2.6.10-rc3/drivers/pcmcia/ds.c
===================================================================
--- 2.6.10-rc3.orig/drivers/pcmcia/ds.c 2004-12-13 16:00:41.442136035 +0100
+++ 2.6.10-rc3/drivers/pcmcia/ds.c 2004-12-13 16:04:23.388266075 +0100
@@ -741,8 +741,6 @@
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);
Index: 2.6.10-rc3/include/pcmcia/ds.h
===================================================================
--- 2.6.10-rc3.orig/include/pcmcia/ds.h 2004-12-13 16:00:39.879353578 +0100
+++ 2.6.10-rc3/include/pcmcia/ds.h 2004-12-13 16:04:23.388266075 +0100
@@ -165,7 +165,7 @@
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;
More information about the linux-pcmcia
mailing list