diff options
author | Michael Straube <straube.linux@gmail.com> | 2023-03-17 07:50:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 08:07:25 +0100 |
commit | 5001d664e328b4a07e2377f09d7a6871ce12bc01 (patch) | |
tree | 43a990d120e4ae1da2d55060d8df4debd2d63f51 | |
parent | staging: vt6655: remove unused bb_power_save_mode_on() function (diff) | |
download | wireguard-linux-5001d664e328b4a07e2377f09d7a6871ce12bc01.tar.xz wireguard-linux-5001d664e328b4a07e2377f09d7a6871ce12bc01.zip |
staging: vt6655: remove unused bb_power_save_mode_off() function
The function bb_power_save_mode_off() is not used anywhere, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20230317065041.16635-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6655/baseband.c | 22 | ||||
-rw-r--r-- | drivers/staging/vt6655/baseband.h | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c index d7c3e4bec560..0e135af8316b 100644 --- a/drivers/staging/vt6655/baseband.c +++ b/drivers/staging/vt6655/baseband.c @@ -2172,28 +2172,6 @@ bb_software_reset(struct vnt_private *priv) } /* - * Description: Baseband Power Save Mode OFF - * - * Parameters: - * In: - * iobase - I/O base address - * Out: - * none - * - * Return Value: none - * - */ -void -bb_power_save_mode_off(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: Set Tx Antenna mode * * Parameters: diff --git a/drivers/staging/vt6655/baseband.h b/drivers/staging/vt6655/baseband.h index d1128d050ac5..e4a02c240a1c 100644 --- a/drivers/staging/vt6655/baseband.h +++ b/drivers/staging/vt6655/baseband.h @@ -63,7 +63,6 @@ void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data); /* VT3253 Baseband */ bool bb_vt3253_init(struct vnt_private *priv); void bb_software_reset(struct vnt_private *priv); -void bb_power_save_mode_off(struct vnt_private *priv); void bb_set_tx_antenna_mode(struct vnt_private *priv, unsigned char by_antenna_mode); void bb_set_rx_antenna_mode(struct vnt_private *priv, |