Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michael Straube and committed by
Greg Kroah-Hartman
5001d664 d32a62ac

-23
-22
drivers/staging/vt6655/baseband.c
··· 2172 2172 } 2173 2173 2174 2174 /* 2175 - * Description: Baseband Power Save Mode OFF 2176 - * 2177 - * Parameters: 2178 - * In: 2179 - * iobase - I/O base address 2180 - * Out: 2181 - * none 2182 - * 2183 - * Return Value: none 2184 - * 2185 - */ 2186 - void 2187 - bb_power_save_mode_off(struct vnt_private *priv) 2188 - { 2189 - unsigned char by_org_data; 2190 - 2191 - bb_read_embedded(priv, 0x0D, &by_org_data); 2192 - by_org_data &= ~(BIT(0)); 2193 - bb_write_embedded(priv, 0x0D, by_org_data); 2194 - } 2195 - 2196 - /* 2197 2175 * Description: Set Tx Antenna mode 2198 2176 * 2199 2177 * Parameters:
-1
drivers/staging/vt6655/baseband.h
··· 63 63 /* VT3253 Baseband */ 64 64 bool bb_vt3253_init(struct vnt_private *priv); 65 65 void bb_software_reset(struct vnt_private *priv); 66 - void bb_power_save_mode_off(struct vnt_private *priv); 67 66 void bb_set_tx_antenna_mode(struct vnt_private *priv, 68 67 unsigned char by_antenna_mode); 69 68 void bb_set_rx_antenna_mode(struct vnt_private *priv,