rt2x00: Remove suspicious register write
Remove suspicious register write as the reg variable is never filled with an TX_SW_CFG2 associated value before. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
This commit is contained in:
parent
df7f4ebe75
commit
6e387aa420
|
@ -1335,7 +1335,6 @@ int rt2800_init_registers(struct rt2x00_dev *rt2x00dev)
|
|||
} else {
|
||||
rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000000);
|
||||
}
|
||||
rt2800_register_write(rt2x00dev, TX_SW_CFG2, reg);
|
||||
} else if (rt2x00_rt(rt2x00dev, RT3070)) {
|
||||
rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000400);
|
||||
|
||||
|
|
Loading…
Reference in New Issue