summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLourdes Pedrajas <lu@pplo.net>2020-03-08 23:54:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-10 10:44:49 +0100
commitc12b19af4a106868fca9239f9ac9cca0d470b337 (patch)
tree6134b7b85ac523ed06d940ae7fc3fb71d5ccd271
parent1657f11c7ca109b6f7e7bec4e241bf6cbbe2d4b0 (diff)
downloadlinux-c12b19af4a106868fca9239f9ac9cca0d470b337.tar.bz2
staging: hp: remove commented out code
Remove unused code. Signed-off-by: Lourdes Pedrajas <lu@pplo.net> Link: https://lore.kernel.org/r/20200308225400.17267-1-lu@pplo.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/hp/hp100.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c
index e2f0b58e5dfd..b89c4dcf53f5 100644
--- a/drivers/staging/hp/hp100.c
+++ b/drivers/staging/hp/hp100.c
@@ -511,12 +511,6 @@ static int hp100_probe1(struct net_device *dev, int ioaddr, u_char bus,
* 0x2260 -> EISA HP, BusMaster (Shasta Chip)
*/
-#if 0
- local_mode = 0x2270;
- hp100_outw(0xfefe, OPTION_LSW);
- hp100_outw(local_mode | HP100_SET_LB | HP100_SET_HB, OPTION_LSW);
-#endif
-
/* hp100_mode value maybe used in future by another card */
local_mode = hp100_mode;
if (local_mode < 1 || local_mode > 4)