Skip to content

Commit

Permalink
spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Thomas Abraham authored and kgene committed Jul 13, 2012
1 parent e9f9c82 commit 2b54be6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/spi/spi-s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2b54be6

Please sign in to comment.