summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2026-05-17 19:17:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-22 14:30:41 +0300
commitb382754793b1af27899164a5b412ff2f49eb24d5 (patch)
treef965282228a1966e9cc121af33058f0bd7ffa2c7 /include/linux
parentbea3649af1293144172a20e0b33a319e5221db28 (diff)
downloadlinux-b382754793b1af27899164a5b412ff2f49eb24d5.tar.xz
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index d54c86d77764..ac05c6e0af1b 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -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;