]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: rtl8192e: Remove unnecessary pre-declaration of struct net_device
authorTeddy Engel <engel.teddy@gmail.com>
Thu, 13 Jun 2024 20:15:11 +0000 (21:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2024 13:25:42 +0000 (15:25 +0200)
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>
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h
drivers/staging/rtl8192e/rtl8192e/rtl_pci.h

index 615b84bca9b8aa383db9ea3ecc70cc5f0ff5c500..3a56354943857555a7acb17fd70b62c0be4bd97e 100644 (file)
@@ -11,7 +11,6 @@
 #define _RTL_CAM_H
 
 #include <linux/types.h>
-struct net_device;
 
 void rtl92e_cam_reset(struct net_device *dev);
 void rtl92e_enable_hw_security_config(struct net_device *dev);
index 866e0efbc4fdea04bf0961bebee8e38354624b44..c645775b21508fcdc9733411b200ffed67bbdb8e 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/types.h>
 #include <linux/pci.h>
 
-struct net_device;
 bool rtl92e_check_adapter(struct pci_dev *pdev, struct net_device *dev);
 
 #endif