staging: rtl8192e: Remove unused function copy_mac_addr()
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 19 Nov 2023 22:15:15 +0000 (23:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 12:46:28 +0000 (12:46 +0000)
Remove unused function copy_mac_addr().

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/d157456121388489784ce34e5f3daf91126f80d7.1700431464.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/dot11d.h

index fd0a2df189bf986f7a7d798b0f7c6e12be7fed30..d3da4af4a16ba587c7b1f176391d559b7e9c200c 100644 (file)
@@ -44,11 +44,6 @@ struct rt_dot11d_info {
        enum dot11d_state state;
 };
 
-static inline void copy_mac_addr(unsigned char *des, unsigned char *src)
-{
-       memcpy(des, src, 6);
-}
-
 #define GET_DOT11D_INFO(__ieee_dev)                    \
         ((struct rt_dot11d_info *)((__ieee_dev)->dot11d_info))