staging: r8188eu: remove rtw_IOL_cmd_buf_dump()
authorMichael Straube <straube.linux@gmail.com>
Wed, 22 Sep 2021 20:04:02 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Sep 2021 15:29:41 +0000 (17:29 +0200)
Function rtw_IOL_cmd_buf_dump() is not used, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-30-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_iol.c
drivers/staging/r8188eu/include/rtw_iol.h

index ee7cda7..fe60788 100644 (file)
@@ -163,20 +163,3 @@ u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame)
        }
        return is_cmd_bndy;
 }
-
-void rtw_IOL_cmd_buf_dump(int buf_len, u8 *pbuf)
-{
-       int i;
-       int j = 1;
-
-       pr_info("###### %s ######\n", __func__);
-       for (i = 0; i < buf_len; i++) {
-               printk("%02x-", *(pbuf + i));
-
-               if (j % 32 == 0)
-                       printk("\n");
-               j++;
-       }
-       printk("\n");
-       pr_info("=============ioreg_cmd len=%d===============\n", buf_len);
-}
index 4d44e59..fb88ebc 100644 (file)
@@ -59,6 +59,5 @@ int _rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path,
        _rtw_IOL_append_WRF_cmd((xmit_frame),(rf_path), (addr), (value), (mask))
 
 u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame);
-void  rtw_IOL_cmd_buf_dump(int buf_len, u8 *pbuf);
 
 #endif /* __RTW_IOL_H_ */