PERFORCE change 111623 for review

Paolo Pisati piso at FreeBSD.org
Wed Dec 13 02:51:28 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=111623

Change 111623 by piso at piso_newluxor on 2006/12/13 10:50:40

	Looks like p_ih is not used anywhere.

Affected files ...

.. //depot/projects/soc2006/intr_filter/dev/puc/puc.c#8 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/dev/puc/puc.c#8 (text+ko) ====

@@ -59,7 +59,6 @@
 
 	int		p_hasintr:1;
 
-	driver_intr_t	*p_ih;
 	serdev_intr_t	*p_ihsrc[PUC_ISRCCNT];
 	void		*p_iharg;
 
@@ -637,10 +636,6 @@
 	sc->sc_serdevs |= 1UL << (port->p_nr - 1);
 
 	port->p_hasintr = 1;
-	/*
-	 * XXX_FILTER this code doesn't take care of filters.
-	 */
-	port->p_ih = (driver_intr_t *)filter;
 	port->p_iharg = arg;
 
 	*cookiep = port;
@@ -681,7 +676,6 @@
 		return (EINVAL);
 
 	port->p_hasintr = 0;
-	port->p_ih = NULL;
 	port->p_iharg = NULL;
 
 	for (i = 0; i < PUC_ISRCCNT; i++)


More information about the p4-projects mailing list