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

staging: vt6655: Remove unused function prototype and definition

Remove the MACbIsRegBitsOn function, as it is never called in kernel tree.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Madhumitha Prabakaran and committed by
Greg Kroah-Hartman
d8b2f7cf e91dea57

-26
-24
drivers/staging/vt6655/mac.c
··· 12 12 * Date: May 21, 1996 13 13 * 14 14 * Functions: 15 - * MACbIsRegBitsOn - Test if All test Bits On 16 15 * MACbIsRegBitsOff - Test if All test Bits Off 17 16 * MACbIsIntDisable - Test if MAC interrupt disable 18 17 * MACvSetShortRetryLimit - Set 802.11 Short Retry limit ··· 40 41 41 42 #include "tmacro.h" 42 43 #include "mac.h" 43 - 44 - /* 45 - * Description: 46 - * Test if all test bits on 47 - * 48 - * Parameters: 49 - * In: 50 - * io_base - Base Address for MAC 51 - * byRegOfs - Offset of MAC Register 52 - * byTestBits - Test bits 53 - * Out: 54 - * none 55 - * 56 - * Return Value: true if all test bits On; otherwise false 57 - * 58 - */ 59 - bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, 60 - unsigned char byTestBits) 61 - { 62 - void __iomem *io_base = priv->PortOffset; 63 - 64 - return (ioread8(io_base + byRegOfs) & byTestBits) == byTestBits; 65 - } 66 44 67 45 /* 68 46 * Description:
-2
drivers/staging/vt6655/mac.h
··· 876 876 #define MACvSetRFLE_LatchBase(iobase) \ 877 877 MACvWordRegBitsOn(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_RFLEOPT) 878 878 879 - bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, 880 - unsigned char byTestBits); 881 879 bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, 882 880 unsigned char byTestBits); 883 881