OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1657f11
)
staging: hp: remove commented out code
author
Lourdes Pedrajas
<lu@pplo.net>
Sun, 8 Mar 2020 22:54:00 +0000
(23:54 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 10 Mar 2020 09:44:49 +0000
(10:44 +0100)
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>
drivers/staging/hp/hp100.c
patch
|
blob
|
history
diff --git
a/drivers/staging/hp/hp100.c
b/drivers/staging/hp/hp100.c
index
e2f0b58
..
b89c4dc
100644
(file)
--- 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)