Replace macro RTL_PCI_DEVICE with PCI_DEVICE to get rid of struct rtl819x_ops in this macro. Remove empty struct rtl819x_ops from driver as it has no entries and is dead code. Tested with rtl8192e Transferred this patch over wlan connection of rtl8192e This patch series requires the this patch series: "[PATCH 0/7] staging: rtl8192e: Remove entries from struct rtl819x_ops start with .tx_enable" Philipp Hortmann (2): staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE staging: rtl8192e: Remove empty struct rtl819x_ops drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 12 +++--------- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 9 --------- 2 files changed, 3 insertions(+), 18 deletions(-) -- 2.39.2