Permalink
Browse files

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
  • Loading branch information...
1 parent 0085d0d commit d9be36d380f1665eef027eaef6b74dfe986b6e6a @DimitryAndric DimitryAndric committed Oct 9, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −1 sys/arm/s3c2xx0/uart_bus_s3c2410.c
  2. +0 −2 sys/arm/s3c2xx0/uart_cpu_s3c2410.c
@@ -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)
@@ -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)
{

0 comments on commit d9be36d

Please sign in to comment.