[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] xen/arm: drivers: scif: Remove unused #define-s
commit 4a4ed43bb63f075fbcc7645297304fc42d4ae638 Author: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> AuthorDate: Mon Aug 6 21:35:49 2018 +0300 Commit: Julien Grall <julien.grall@xxxxxxx> CommitDate: Wed Aug 22 16:15:35 2018 +0100 xen/arm: drivers: scif: Remove unused #define-s Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> Acked-by: Julien Grall <julien.grall@xxxxxxx> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/drivers/char/scif-uart.c | 4 ---- xen/include/asm-arm/scif-uart.h | 11 ----------- 2 files changed, 15 deletions(-) diff --git a/xen/drivers/char/scif-uart.c b/xen/drivers/char/scif-uart.c index 4a71bac171..465fb3457f 100644 --- a/xen/drivers/char/scif-uart.c +++ b/xen/drivers/char/scif-uart.c @@ -29,10 +29,6 @@ #include <asm/scif-uart.h> #include <asm/io.h> -#define PARITY_NONE 0 -#define PARITY_EVEN 1 -#define PARITY_ODD 2 - #define scif_readb(uart, off) readb((uart)->regs + (off)) #define scif_writeb(uart, off, val) writeb((val), (uart)->regs + (off)) diff --git a/xen/include/asm-arm/scif-uart.h b/xen/include/asm-arm/scif-uart.h index d030b263f3..8137850b96 100644 --- a/xen/include/asm-arm/scif-uart.h +++ b/xen/include/asm-arm/scif-uart.h @@ -47,17 +47,6 @@ #define SCSCR_CKE1 (1 << 1) /* Clock Enable 1 */ #define SCSCR_CKE0 (1 << 0) /* Clock Enable 0 */ -#define SCSCR_CKE00 (0) -#define SCSCR_CKE01 (SCSCR_CKE0) -#define SCSCR_CKE10 (SCSCR_CKE1) -#define SCSCR_CKE11 (SCSCR_CKE1 | SCSCR_CKE0) - -/* Serial Mode Register (SCSMR) */ -#define SCSMR_CHR (1 << 6) /* 7-bit Character Length */ -#define SCSMR_PE (1 << 5) /* Parity Enable */ -#define SCSMR_ODD (1 << 4) /* Odd Parity */ -#define SCSMR_STOP (1 << 3) /* Stop Bit Length */ - /* Serial Status Register (SCFSR) */ #define SCFSR_ER (1 << 7) /* Receive Error */ #define SCFSR_TEND (1 << 6) /* Transmission End */ -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |