summaryrefslogtreecommitdiff
path: root/alias.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-09-23 15:08:17 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-26 11:51:19 +0200
commit92889eca62fcd5b72d7c54101c35ff6d6d477c40 (patch)
tree0ca2aba1b6bbc24035df147bf51dc4b131c69eae /alias.c
parentfe6ad84c7120a1000c9dcd3cabdc6249b36414a6 (diff)
downloadnetifd-92889eca62fcd5b72d7c54101c35ff6d6d477c40.tar.gz
device: Move the different device type registrations to the device type file
While at it; make device_types static if only used in the device type file Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/alias.c b/alias.c
index f95c9f5..649f2d1 100644
--- a/alias.c
+++ b/alias.c
@@ -30,8 +30,6 @@ struct alias_device {
char name[];
};
-static struct device_type alias_device_type;
-
static void alias_set_device(struct alias_device *alias, struct device *dev)
{
if (dev == alias->dep.dev) {