Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/booke/dev Drop unused opt_flash.h.



details:   https://anonhg.NetBSD.org/src/rev/ab0b6d0c7d29
branches:  trunk
changeset: 1011663:ab0b6d0c7d29
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jul 06 10:22:44 2020 +0000

description:
Drop unused opt_flash.h.

diffstat:

 sys/arch/powerpc/booke/dev/pq3cfi.c     |  8 ++------
 sys/arch/powerpc/booke/dev/pq3nandfcm.c |  6 +-----
 2 files changed, 3 insertions(+), 11 deletions(-)

diffs (41 lines):

diff -r 01af711d1d78 -r ab0b6d0c7d29 sys/arch/powerpc/booke/dev/pq3cfi.c
--- a/sys/arch/powerpc/booke/dev/pq3cfi.c       Mon Jul 06 10:22:07 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3cfi.c       Mon Jul 06 10:22:44 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pq3cfi.c,v 1.6 2020/07/06 09:34:16 rin Exp $   */
+/*     $NetBSD: pq3cfi.c,v 1.7 2020/07/06 10:22:44 rin Exp $   */
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -33,14 +33,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3cfi.c,v 1.6 2020/07/06 09:34:16 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3cfi.c,v 1.7 2020/07/06 10:22:44 rin Exp $");
 
 #include "locators.h"
 
-#ifdef _KERNEL_OPT
-#include "opt_flash.h"
-#endif
-
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/cdefs.h>
diff -r 01af711d1d78 -r ab0b6d0c7d29 sys/arch/powerpc/booke/dev/pq3nandfcm.c
--- a/sys/arch/powerpc/booke/dev/pq3nandfcm.c   Mon Jul 06 10:22:07 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3nandfcm.c   Mon Jul 06 10:22:44 2020 +0000
@@ -30,11 +30,7 @@
 #define LBC_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3nandfcm.c,v 1.3 2020/07/06 09:34:16 rin Exp $");
-
-#ifdef _KERNEL_OPT
-#include "opt_flash.h"
-#endif
+__KERNEL_RCSID(0, "$NetBSD: pq3nandfcm.c,v 1.4 2020/07/06 10:22:44 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index