Module: xenomai-3
Branch: wip/drivers
Commit: 18aa7ff54025132aaabc6daa7dd50a70f62763bb
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=18aa7ff54025132aaabc6daa7dd50a70f62763bb

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Sep 29 15:25:57 2016 +0200

drivers/spi: bcm2835: drop unused variables

---

 kernel/drivers/spi/spi-bcm2835.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/drivers/spi/spi-bcm2835.c b/kernel/drivers/spi/spi-bcm2835.c
index da44bf7..e4a95d0 100644
--- a/kernel/drivers/spi/spi-bcm2835.c
+++ b/kernel/drivers/spi/spi-bcm2835.c
@@ -322,7 +322,6 @@ static ssize_t bcm2835_read(struct rtdm_spi_remote_slave 
*slave,
                            void *rx, size_t len)
 {
        struct spi_master_bcm2835 *spim = to_master_bcm2835(slave);
-       struct spi_slave_bcm2835 *bcm = to_slave_bcm2835(slave);
 
        spim->tx_len = len;
        spim->rx_len = len;
@@ -336,7 +335,6 @@ static ssize_t bcm2835_write(struct rtdm_spi_remote_slave 
*slave,
                             const void *tx, size_t len)
 {
        struct spi_master_bcm2835 *spim = to_master_bcm2835(slave);
-       struct spi_slave_bcm2835 *bcm = to_slave_bcm2835(slave);
 
        spim->tx_len = len;
        spim->rx_len = len;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to