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

staging: rtl8192e: Remove unnecessary pre-declaration of struct net_device

Remove pre-declaration of struct.

Signed-off-by: Teddy Engel <engel.teddy@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/bb7d1aa7b336e4d68a30fd17dae7accfd2d5a26e.1718309120.git.engel.teddy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Teddy Engel and committed by
Greg Kroah-Hartman
7dff0b27 91c2d350

-2
-1
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h
··· 11 11 #define _RTL_CAM_H 12 12 13 13 #include <linux/types.h> 14 - struct net_device; 15 14 16 15 void rtl92e_cam_reset(struct net_device *dev); 17 16 void rtl92e_enable_hw_security_config(struct net_device *dev);
-1
drivers/staging/rtl8192e/rtl8192e/rtl_pci.h
··· 13 13 #include <linux/types.h> 14 14 #include <linux/pci.h> 15 15 16 - struct net_device; 17 16 bool rtl92e_check_adapter(struct pci_dev *pdev, struct net_device *dev); 18 17 19 18 #endif