From owner-p4-projects@FreeBSD.ORG Fri Nov 20 11:20:40 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 268DA1065782; Fri, 20 Nov 2009 11:20:40 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8111065780 for ; Fri, 20 Nov 2009 11:20:39 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CCAA78FC27 for ; Fri, 20 Nov 2009 11:20:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nAKBKdnJ073028 for ; Fri, 20 Nov 2009 11:20:39 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAKBKdC1073026 for perforce@freebsd.org; Fri, 20 Nov 2009 11:20:39 GMT (envelope-from hselasky@FreeBSD.org) Date: Fri, 20 Nov 2009 11:20:39 GMT Message-Id: <200911201120.nAKBKdC1073026@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 170858 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 11:20:40 -0000 http://p4web.freebsd.org/chv.cgi?CH=170858 Change 170858 by hselasky@hselasky_laptop001 on 2009/11/20 11:20:16 USB input: - style change Affected files ... .. //depot/projects/usb/src/sys/dev/usb/input/atp.c#3 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/input/atp.c#3 (text+ko) ==== @@ -1573,10 +1573,7 @@ (uaa->info.bInterfaceProtocol != UIPROTO_MOUSE)) return (ENXIO); - if (usbd_lookup_id_by_uaa(atp_devs, sizeof(atp_devs), uaa) == 0) - return 0; - else - return ENXIO; + return (usbd_lookup_id_by_uaa(atp_devs, sizeof(atp_devs), uaa)); } static int