Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 17:05:03 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256196 - head/sys/arm/s3c2xx0
Message-ID:  <201310091705.r99H53KN000460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310091705.r99H53KN000460>