lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1408716675-1093-1-git-send-email-dmurphy@ti.com>
Date:	Fri, 22 Aug 2014 09:11:15 -0500
From:	Dan Murphy <dmurphy@...com>
To:	<linux-input@...r.kernel.org>, <dmitry.torokhov@...il.com>
CC:	<linux-kernel@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>, Dan Murphy <dmurphy@...com>
Subject: [PATCH] input: misc: drv260x remove defines not used

Removing some #defines that are not and should
never be used pertaining to I2C.

Removing:
define DRV260X_ALLOWED_R_BYTES	25
define DRV260X_ALLOWED_W_BYTES	2
define DRV260X_MAX_RW_RETRIES	5
define DRV260X_I2C_RETRY_DELAY 10

Signed-off-by: Dan Murphy <dmurphy@...com>
---
 drivers/input/misc/drv260x.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c
index e90e3b8..a7a19e6 100644
--- a/drivers/input/misc/drv260x.c
+++ b/drivers/input/misc/drv260x.c
@@ -66,11 +66,6 @@
 #define DRV260X_LRA_RES_PERIOD	0x22
 #define DRV260X_MAX_REG			0x23
 
-#define DRV260X_ALLOWED_R_BYTES	25
-#define DRV260X_ALLOWED_W_BYTES	2
-#define DRV260X_MAX_RW_RETRIES	5
-#define DRV260X_I2C_RETRY_DELAY 10
-
 #define DRV260X_GO_BIT				0x01
 
 /* Library Selection */
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ