summaryrefslogtreecommitdiff
path: root/drivers/staging/kpc2000/kpc2000_i2c.c
diff options
context:
space:
mode:
authorGeordan Neukum <gneukum1@gmail.com>2019-05-22 12:13:58 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-22 14:47:16 +0200
commit8576a5f543273f4bf3af8e3a5b25c918e4dca02a (patch)
treeaee7a14cf1be2f6206aa462195006dc126fedcc9 /drivers/staging/kpc2000/kpc2000_i2c.c
parente6e0a03574917ed7bd5545cfbee87d60021500d9 (diff)
staging: kpc2000: kpc_i2c: remove unused module param disable_features
The module parameter 'disable_features' is currently unused. Therefore, it should be removed. Signed-off-by: Geordan Neukum <gneukum1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/kpc2000_i2c.c')
-rw-r--r--drivers/staging/kpc2000/kpc2000_i2c.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c
index 42061318d2d4..40a89998726e 100644
--- a/drivers/staging/kpc2000/kpc2000_i2c.c
+++ b/drivers/staging/kpc2000/kpc2000_i2c.c
@@ -126,10 +126,6 @@ struct i2c_device {
/* Not really a feature, but it's convenient to handle it as such */
#define FEATURE_IDF (1 << 15)
-static unsigned int disable_features;
-module_param(disable_features, uint, S_IRUGO | S_IWUSR);
-MODULE_PARM_DESC(disable_features, "Disable selected driver features");
-
// FIXME!
#undef inb_p
#define inb_p(a) readq((void*)a)