mirror of https://gitee.com/openkylin/linux.git
staging: vt6656: remove dead code ControlvMaskByte
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
96f6975bd3
commit
3d61e4c788
|
@ -50,17 +50,3 @@ void ControlvReadByte(struct vnt_private *pDevice, u8 reg, u8 reg_off,
|
||||||
reg_off, reg, sizeof(u8), data);
|
reg_off, reg, sizeof(u8), data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControlvMaskByte(struct vnt_private *pDevice, u8 reg_type, u8 reg_off,
|
|
||||||
u8 reg_mask, u8 data)
|
|
||||||
{
|
|
||||||
u8 reg_data[2];
|
|
||||||
|
|
||||||
reg_data[0] = data;
|
|
||||||
reg_data[1] = reg_mask;
|
|
||||||
|
|
||||||
vnt_control_out(pDevice, MESSAGE_TYPE_WRITE_MASK, reg_off,
|
|
||||||
reg_type, ARRAY_SIZE(reg_data), reg_data);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
|
@ -36,7 +36,4 @@
|
||||||
void ControlvReadByte(struct vnt_private *pDevice, u8 reg, u8 reg_off,
|
void ControlvReadByte(struct vnt_private *pDevice, u8 reg, u8 reg_off,
|
||||||
u8 *data);
|
u8 *data);
|
||||||
|
|
||||||
void ControlvMaskByte(struct vnt_private *pDevice, u8 reg_type, u8 reg_off,
|
|
||||||
u8 reg_mask, u8 data);
|
|
||||||
|
|
||||||
#endif /* __CONTROL_H__ */
|
#endif /* __CONTROL_H__ */
|
||||||
|
|
Loading…
Reference in New Issue