driver core: delete useless forward declaration of "struct class"

"struct class" is defined earlier on both cases.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Link: https://patch.msgid.link/6d5937c5-9d41-4cfe-9e42-0946e12dc72d@p183
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alexey Dobriyan 2026-05-17 19:17:47 +03:00 committed by Greg Kroah-Hartman
parent bea3649af1
commit b382754793
2 changed files with 0 additions and 2 deletions

View File

@ -23,7 +23,6 @@ extern void mips_mt_set_cpuoptions(void);
static inline void mips_mt_set_cpuoptions(void) { }
#endif
struct class;
extern const struct class mt_class;
#endif /* __ASM_MIPS_MT_H */

View File

@ -38,7 +38,6 @@ struct device_private;
struct device_driver;
struct driver_private;
struct module;
struct class;
struct subsys_private;
struct device_node;
struct fwnode_handle;