summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/manifest.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-04-01 20:32:03 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-04-06 12:07:30 +0200
commit8e2e22d7830616ac37a9045e9e749e35cbc10ffe (patch)
tree15168fa715d7e4f581d4e045b31d92176cca62f2 /drivers/staging/greybus/manifest.c
parenta93db2d1f6939bf260dbdf0d32a20eda3ad2e620 (diff)
greybus: drop module descriptors
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/manifest.c')
-rw-r--r--drivers/staging/greybus/manifest.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c
index f3d3a2f32b47..12eee3adf91a 100644
--- a/drivers/staging/greybus/manifest.c
+++ b/drivers/staging/greybus/manifest.c
@@ -18,8 +18,6 @@ static const char *get_descriptor_type_string(u8 type)
switch(type) {
case GREYBUS_TYPE_INVALID:
return "invalid";
- case GREYBUS_TYPE_MODULE:
- return "module";
case GREYBUS_TYPE_STRING:
return "string";
case GREYBUS_TYPE_INTERFACE:
@@ -99,9 +97,6 @@ static int identify_descriptor(struct gb_interface *intf,
expected_size = sizeof(*desc_header);
switch (desc_header->type) {
- case GREYBUS_TYPE_MODULE:
- expected_size += sizeof(struct greybus_descriptor_module);
- break;
case GREYBUS_TYPE_STRING:
expected_size += sizeof(struct greybus_descriptor_string);
expected_size += desc->string.length;