From owner-svn-src-head@FreeBSD.ORG Wed Oct 9 17:05:03 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A76CCD34; Wed, 9 Oct 2013 17:05:03 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9507125CF; Wed, 9 Oct 2013 17:05:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r99H53c6000462; Wed, 9 Oct 2013 17:05:03 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r99H53KN000460; Wed, 9 Oct 2013 17:05:03 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201310091705.r99H53KN000460@svn.freebsd.org> From: Dimitry Andric Date: Wed, 9 Oct 2013 17:05:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256196 - head/sys/arm/s3c2xx0 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 17:05:03 -0000 Author: dim Date: Wed Oct 9 17:05:02 2013 New Revision: 256196 URL: http://svnweb.freebsd.org/changeset/base/256196 Log: Remove redundant redeclarations of uart_s3c2410_class in sys/arm/s3c2xx0/uart_bus_s3c2410.c and uart_cpu_s3c2410.c, to silence two gcc warnings. Approved by: re (gjb) X-MFC-With: r252394 Modified: head/sys/arm/s3c2xx0/uart_bus_s3c2410.c head/sys/arm/s3c2xx0/uart_cpu_s3c2410.c Modified: head/sys/arm/s3c2xx0/uart_bus_s3c2410.c ============================================================================== --- head/sys/arm/s3c2xx0/uart_bus_s3c2410.c Wed Oct 9 16:55:52 2013 (r256195) +++ head/sys/arm/s3c2xx0/uart_bus_s3c2410.c Wed Oct 9 17:05:02 2013 (r256196) @@ -35,7 +35,6 @@ static driver_t uart_s3c2410_driver = { sizeof(struct uart_softc), }; -extern struct uart_class uart_s3c2410_class; extern SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs; static int uart_s3c2410_probe(device_t dev) Modified: head/sys/arm/s3c2xx0/uart_cpu_s3c2410.c ============================================================================== --- head/sys/arm/s3c2xx0/uart_cpu_s3c2410.c Wed Oct 9 16:55:52 2013 (r256195) +++ head/sys/arm/s3c2xx0/uart_cpu_s3c2410.c Wed Oct 9 17:05:02 2013 (r256196) @@ -47,8 +47,6 @@ extern struct uart_ops uart_s3c2410_ops; vm_offset_t s3c2410_uart_vaddr; unsigned int s3c2410_pclk; -extern struct uart_class uart_s3c2410_class; - int uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2) {