Commit d32a62ac authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: vt6655: remove unused bb_power_save_mode_on() function

The function bb_power_save_mode_on() is not used anywhere, remove it.
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20230317065041.16635-2-straube.linux@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aae9567a
...@@ -2171,28 +2171,6 @@ bb_software_reset(struct vnt_private *priv) ...@@ -2171,28 +2171,6 @@ bb_software_reset(struct vnt_private *priv)
bb_write_embedded(priv, 0x9C, 0); bb_write_embedded(priv, 0x9C, 0);
} }
/*
* Description: Baseband Power Save Mode ON
*
* Parameters:
* In:
* iobase - I/O base address
* Out:
* none
*
* Return Value: none
*
*/
void
bb_power_save_mode_on(struct vnt_private *priv)
{
unsigned char by_org_data;
bb_read_embedded(priv, 0x0D, &by_org_data);
by_org_data |= BIT(0);
bb_write_embedded(priv, 0x0D, by_org_data);
}
/* /*
* Description: Baseband Power Save Mode OFF * Description: Baseband Power Save Mode OFF
* *
......
...@@ -63,7 +63,6 @@ void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data); ...@@ -63,7 +63,6 @@ void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data);
/* VT3253 Baseband */ /* VT3253 Baseband */
bool bb_vt3253_init(struct vnt_private *priv); bool bb_vt3253_init(struct vnt_private *priv);
void bb_software_reset(struct vnt_private *priv); void bb_software_reset(struct vnt_private *priv);
void bb_power_save_mode_on(struct vnt_private *priv);
void bb_power_save_mode_off(struct vnt_private *priv); void bb_power_save_mode_off(struct vnt_private *priv);
void bb_set_tx_antenna_mode(struct vnt_private *priv, void bb_set_tx_antenna_mode(struct vnt_private *priv,
unsigned char by_antenna_mode); unsigned char by_antenna_mode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment