summaryrefslogtreecommitdiff
path: root/include/linux/moxtet.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-19 15:26:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 17:01:14 +0100
commita87e55bfa25c195b3aaa25369175905ba9527fff (patch)
tree408a87287cb22cfab41b6014e36869c64269dc97 /include/linux/moxtet.h
parent1960932eef9183e2dab662fe75126f7fa46e0e6d (diff)
moxtet: remove unused moxtet_type declaration
For some reason, moxtet_type was defined in moxtet.h, but never actually used. Looks like a left-over from the original commit that was exporting the moxtet bus type, but that wasn't needed, and it was a different variable name, so no one noticed this one dangling around. Cc: Marek BehĂșn <kabel@kernel.org> Link: https://lore.kernel.org/r/2023121937-pants-heroics-17c1@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/moxtet.h')
-rw-r--r--include/linux/moxtet.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/moxtet.h b/include/linux/moxtet.h
index 79184948fab4..ac577699edfd 100644
--- a/include/linux/moxtet.h
+++ b/include/linux/moxtet.h
@@ -35,8 +35,6 @@ enum turris_mox_module_id {
#define MOXTET_NIRQS 16
-extern struct bus_type moxtet_type;
-
struct moxtet {
struct device *dev;
struct mutex lock;