staging: vt6656: remove dead code ControlvMaskByte
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 26 May 2014 12:59:05 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:36:50 +0000 (10:36 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/control.c
drivers/staging/vt6656/control.h

index 14346a6b928eb5bb08f533f1060fd71ad640ee54..b6e31f3cf9620a5f14bbcb7d909ce3d42c422861 100644 (file)
@@ -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;
-}
index e4e252ecbc28380834dfd8f7fec285bb712cd55a..48f4836a514681a259bc923ab3bf16d9c1306516 100644 (file)
@@ -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__ */