if (p_dev->client.state & (CLIENT_UNBOUND|CLIENT_STALE)) 
if (p_dev->state & (CLIENT_UNBOUND|CLIENT_STALE)) 
static int send_event_callback(struct device *dev, void * _data){	struct pcmcia_device *p_dev = to_pcmcia_dev(dev);	struct pcmcia_driver *p_drv;	struct send_event_data *data = _data;	/* we get called for all sockets, but may only pass the event	 * for drivers _on the affected socket_ */	if (p_dev->socket != data->skt)		return 0;	p_drv = to_pcmcia_drv(p_dev->dev.driver);	if (!p_drv)		return 0;	if (p_dev->client.state & (CLIENT_UNBOUND|CLIENT_STALE))		return 0;	if (p_drv->event)		return p_drv->event(data->event, data->priority,				    &p_dev->event_callback_args);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2/ds.c/buggy/drivers/pcmcia/ds.c