aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/audio_module.c
diff options
context:
space:
mode:
authorPankaj Bharadiya <pankaj.bharadiya@gmail.com>2016-10-17 14:42:36 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-24 15:48:02 +0200
commit49b9137a6002a06f7e44e59ece9b34fd1e4fca4c (patch)
tree9277251e7c964290d93404352cf6954dd2ce8e0d /drivers/staging/greybus/audio_module.c
parentStaging: Greybus: Fix trailing */ in block comments (diff)
downloadlinux-dev-49b9137a6002a06f7e44e59ece9b34fd1e4fca4c.tar.xz
linux-dev-49b9137a6002a06f7e44e59ece9b34fd1e4fca4c.zip
staging: greybus: audio: remove redundant slot field
gb_audio_manager_module_descriptor's intf_id field maintains the information about the interface on which module is connected hence having an extra slot field is redundant. Thus remove the slot field and its associated code. Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Vaibhav Agarwal <vaibhav.sr@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/audio_module.c')
-rw-r--r--drivers/staging/greybus/audio_module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_module.c b/drivers/staging/greybus/audio_module.c
index 45b2519322c3..0269a1d31285 100644
--- a/drivers/staging/greybus/audio_module.c
+++ b/drivers/staging/greybus/audio_module.c
@@ -345,7 +345,6 @@ static int gb_audio_probe(struct gb_bundle *bundle,
dev_dbg(dev, "Inform set_event:%d to above layer\n", 1);
/* prepare for the audio manager */
strlcpy(desc.name, gbmodule->name, GB_AUDIO_MANAGER_MODULE_NAME_LEN);
- desc.slot = 1; /* todo */
desc.vid = 2; /* todo */
desc.pid = 3; /* todo */
desc.intf_id = gbmodule->dev_id;