From owner-p4-projects@FreeBSD.ORG Wed Dec 13 10:51:27 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C91AA16A47C; Wed, 13 Dec 2006 10:51:27 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DC8A16A416 for ; Wed, 13 Dec 2006 10:51:27 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8461D43CED for ; Wed, 13 Dec 2006 10:49:29 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBDAouZN038804 for ; Wed, 13 Dec 2006 10:50:56 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBDAouWq038798 for perforce@freebsd.org; Wed, 13 Dec 2006 10:50:56 GMT (envelope-from piso@freebsd.org) Date: Wed, 13 Dec 2006 10:50:56 GMT Message-Id: <200612131050.kBDAouWq038798@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 111623 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 10:51:28 -0000 http://perforce.freebsd.org/chv.cgi?CH=111623 Change 111623 by piso@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++)