Skip to contentSkip to conversation

staging: hp: remove commented out code

PATCH New Lourdes Pedrajas 1 participant 1 message Mar 8, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: hp: remove commented out code

Remove unused code.

---
 drivers/staging/hp/hp100.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/staging/hp/hp100.c +0 -6
index e2f0b58e5dfd..b89c4dcf53f5 100644
@@ -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)
Signature · 1 line
2.17.1