projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f9c82
)
spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro
author
Thomas Abraham
<
[email protected]
>
Thu, 12 Jul 2012 22:15:14 +0000
(07:15 +0900)
committer
Kukjin Kim
<
[email protected]
>
Fri, 13 Jul 2012 06:23:44 +0000
(15:23 +0900)
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Signed-off-by: Thomas Abraham <
[email protected]
>
Acked-by: Jaswinder Singh <
[email protected]
>
Acked-by: Grant Likely <
[email protected]
>
Signed-off-by: Kukjin Kim <
[email protected]
>
drivers/spi/spi-s3c64xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-s3c64xx.c
b/drivers/spi/spi-s3c64xx.c
index 3c36cfaa1b9309aa5e3eff32d9b613b6e6cda4fd..6e60eecbfc4f97902927c44cb11c6b2a8eb5f090 100644
(file)
--- a/
drivers/spi/spi-s3c64xx.c
+++ b/
drivers/spi/spi-s3c64xx.c
@@
-113,10
+113,6
@@
#define S3C64XX_SPI_FBCLK_MSK (3<<0)
-#define S3C64XX_SPI_ST_TRLCNTZ(v, i) ((((v) >> (i)->rx_lvl_offset) & \
- (((i)->fifo_lvl_mask + 1))) \
- ? 1 : 0)
-
#define S3C64XX_SPI_ST_TX_DONE(v, i) (((v) & (1 << (i)->tx_st_done)) ? 1 : 0)
#define TX_FIFO_LVL(v, i) (((v) >> 6) & (i)->fifo_lvl_mask)
#define RX_FIFO_LVL(v, i) (((v) >> (i)->rx_lvl_offset) & (i)->fifo_lvl_mask)