Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2016 08:49:12 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306439 - head/sys/arm/include
Message-ID:  <201609290849.u8T8nCdc003678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Sep 29 08:49:12 2016
New Revision: 306439
URL: https://svnweb.freebsd.org/changeset/base/306439

Log:
  Remove struct platform_data, it was never used.
  
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm/include/platformvar.h

Modified: head/sys/arm/include/platformvar.h
==============================================================================
--- head/sys/arm/include/platformvar.h	Thu Sep 29 08:32:19 2016	(r306438)
+++ head/sys/arm/include/platformvar.h	Thu Sep 29 08:49:12 2016	(r306439)
@@ -70,10 +70,6 @@ struct platform_kobj {
 	struct platform_class *cls;
 };
 
-struct platform_data {
-	int delay_count;
-};
-
 typedef struct platform_kobj	*platform_t;
 typedef struct platform_class	platform_def_t;
 #define platform_method_t	kobj_method_t
@@ -100,11 +96,6 @@ extern platform_method_t fdt_platform_me
 #define	FDT_PLATFORM_CTASSERT(delay)	CTASSERT(delay == 0)
 #endif
 
-#define	PLATFORM_DATA(NAME, delay)					\
-static struct platform_data NAME ## _platc = {				\
-	.delay_count = delay;						\
-};
-
 #define FDT_PLATFORM_DEF2(NAME, VAR_NAME, NAME_STR, size, compatible,	\
     delay)								\
 FDT_PLATFORM_CTASSERT(delay);						\



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