diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-04-28 19:51:39 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-01 21:08:05 +0200 |
commit | b022515ee64b38baed81b83a47783cbb52b9c5f9 (patch) | |
tree | 357c94a4258d969298613ff3592eb1193ae0f540 /drivers/staging/greybus/manifest.c | |
parent | 20f087ec5c8c746020c91d296339eebe4d8ed4dd (diff) |
greybus: Remove class descriptor
We carry this information as part of bundle descriptor now and this can
be removed.
Reviewed-by: Alex Elder <elder@linaro.org>
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.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index de234d2386f6..597ba7077668 100644 --- a/drivers/staging/greybus/manifest.c +++ b/drivers/staging/greybus/manifest.c @@ -26,8 +26,6 @@ static const char *get_descriptor_type_string(u8 type) return "cport"; case GREYBUS_TYPE_BUNDLE: return "bundle"; - case GREYBUS_TYPE_CLASS: - return "class"; default: WARN_ON(1); return "unknown"; @@ -113,9 +111,6 @@ static int identify_descriptor(struct gb_interface *intf, case GREYBUS_TYPE_CPORT: expected_size += sizeof(struct greybus_descriptor_cport); break; - case GREYBUS_TYPE_CLASS: - pr_warn("class descriptor found (ignoring)\n"); - break; case GREYBUS_TYPE_INVALID: default: pr_err("invalid descriptor type (%hhu)\n", desc_header->type); |