mirror of https://gitee.com/openkylin/linux.git
staging: r8188eu: remove unnecessary cast
name is a const char * by default. This type should be ok for r8188eu. Acked-by: Phillip Potter <phil@philpotter.co.uk> Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210821164859.4351-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9bfb54a8c8
commit
65945da601
|
@ -61,7 +61,7 @@ struct rtw_usb_drv {
|
|||
};
|
||||
|
||||
static struct rtw_usb_drv rtl8188e_usb_drv = {
|
||||
.usbdrv.name = (char *)"r8188eu",
|
||||
.usbdrv.name = "r8188eu",
|
||||
.usbdrv.probe = rtw_drv_init,
|
||||
.usbdrv.disconnect = rtw_dev_remove,
|
||||
.usbdrv.id_table = rtw_usb_id_tbl,
|
||||
|
|
Loading…
Reference in New Issue