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>
这个提交包含在:
@@ -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 */
|
||||
|
在新工单中引用
屏蔽一个用户