diff options
author | Chunyan Zhang <zhang.chunyan@linaro.org> | 2015-01-08 07:01:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-12 05:39:40 +0300 |
commit | 270d73c1c32c71e215f1c64e70be82063ec65005 (patch) | |
tree | 17bd55501e42771a1f947481a4d208e3b5c6fd0f /drivers/net/irda/via-ircc.h | |
parent | f3cd7a264bb001a701e68c7234a3b1cdb3a83f5f (diff) | |
download | linux-270d73c1c32c71e215f1c64e70be82063ec65005.tar.xz |
irda: Removed all unused timeval variables
In the file au1k_ir.c & via-ircc.h, there were two unused definitions of the
timeval type members, this commit therefore removes this unneeded code.
In other three files, the same problem is the rx_time member is only ever
written, never read, so removed it entirely.
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/via-ircc.h')
-rw-r--r-- | drivers/net/irda/via-ircc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/irda/via-ircc.h b/drivers/net/irda/via-ircc.h index 7ce820ecc361..ac1525573398 100644 --- a/drivers/net/irda/via-ircc.h +++ b/drivers/net/irda/via-ircc.h @@ -29,7 +29,6 @@ this program; if not, see <http://www.gnu.org/licenses/>. ********************************************************************/ #ifndef via_IRCC_H #define via_IRCC_H -#include <linux/time.h> #include <linux/spinlock.h> #include <linux/pm.h> #include <linux/types.h> @@ -106,9 +105,6 @@ struct via_ircc_cb { __u8 ier; /* Interrupt enable register */ - struct timeval stamp; - struct timeval now; - spinlock_t lock; /* For serializing operations */ __u32 flags; /* Interface flags */ |