From: Malcolm Priestley Date: Mon, 26 May 2014 12:59:05 +0000 (+0100) Subject: staging: vt6656: remove dead code ControlvMaskByte X-Git-Tag: next-20140530~19^2~173 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d61e4c7883e3f8476a3bb08a0d49dd9b6281ea0;p=karo-tx-linux.git staging: vt6656: remove dead code ControlvMaskByte Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/control.c b/drivers/staging/vt6656/control.c index 14346a6b928e..b6e31f3cf962 100644 --- a/drivers/staging/vt6656/control.c +++ b/drivers/staging/vt6656/control.c @@ -50,17 +50,3 @@ void ControlvReadByte(struct vnt_private *pDevice, u8 reg, u8 reg_off, reg_off, reg, sizeof(u8), data); 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; -} diff --git a/drivers/staging/vt6656/control.h b/drivers/staging/vt6656/control.h index e4e252ecbc28..48f4836a5146 100644 --- a/drivers/staging/vt6656/control.h +++ b/drivers/staging/vt6656/control.h @@ -36,7 +36,4 @@ void ControlvReadByte(struct vnt_private *pDevice, u8 reg, u8 reg_off, u8 *data); -void ControlvMaskByte(struct vnt_private *pDevice, u8 reg_type, u8 reg_off, - u8 reg_mask, u8 data); - #endif /* __CONTROL_H__ */