diff options
author | 2016-08-04 15:14:36 +0530 | |
---|---|---|
committer | 2016-08-04 19:07:30 +0200 | |
commit | 956adf749d697decd9fb5f46aa0fbbc889f4dfe1 (patch) | |
tree | 5ef85933a775d594be8462a73a406b15803e24da /drivers/staging/greybus/audio_module.c | |
parent | greybus: audio: Find data connection based on id (diff) | |
download | linux-dev-956adf749d697decd9fb5f46aa0fbbc889f4dfe1.tar.xz linux-dev-956adf749d697decd9fb5f46aa0fbbc889f4dfe1.zip |
greybus: Remove unused field from data_connection
Audio codec driver internally maintains a struct containing info about
module's data connection. Remove unused field from this struct.
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_module.c')
-rw-r--r-- | drivers/staging/greybus/audio_module.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/audio_module.c b/drivers/staging/greybus/audio_module.c index 9632bc119f87..c2172719e687 100644 --- a/drivers/staging/greybus/audio_module.c +++ b/drivers/staging/greybus/audio_module.c @@ -197,8 +197,6 @@ static int gb_audio_add_data_connection(struct gbaudio_module_info *gbmodule, } greybus_set_drvdata(bundle, gbmodule); - /* dai->name should be same as codec->dai_name */ - strlcpy(dai->name, "greybus-apb1", NAME_SIZE); dai->id = 0; dai->data_cport = connection->intf_cport_id; dai->connection = connection; |