|
@@ -833,9 +833,6 @@ static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data)
|
|
|
index &= ~3;
|
|
|
}
|
|
|
|
|
|
- generic_ocp_read(tp, index, sizeof(tmp), &tmp, type);
|
|
|
-
|
|
|
- data |= __le32_to_cpu(tmp) & ~mask;
|
|
|
tmp = __cpu_to_le32(data);
|
|
|
|
|
|
generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type);
|
|
@@ -874,9 +871,6 @@ static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data)
|
|
|
index &= ~3;
|
|
|
}
|
|
|
|
|
|
- generic_ocp_read(tp, index, sizeof(tmp), &tmp, type);
|
|
|
-
|
|
|
- data |= __le32_to_cpu(tmp) & ~mask;
|
|
|
tmp = __cpu_to_le32(data);
|
|
|
|
|
|
generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type);
|