summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/audio_codec.h
diff options
context:
space:
mode:
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>2016-08-04 12:44:36 +0300
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-04 20:07:30 +0300
commit956adf749d697decd9fb5f46aa0fbbc889f4dfe1 (patch)
tree5ef85933a775d594be8462a73a406b15803e24da /drivers/staging/greybus/audio_codec.h
parent60e7327d54b270eeadc120b6202af50856548376 (diff)
downloadlinux-956adf749d697decd9fb5f46aa0fbbc889f4dfe1.tar.xz
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_codec.h')
-rw-r--r--drivers/staging/greybus/audio_codec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/audio_codec.h b/drivers/staging/greybus/audio_codec.h
index 8cd5bd7a6c31..7a2dbc517663 100644
--- a/drivers/staging/greybus/audio_codec.h
+++ b/drivers/staging/greybus/audio_codec.h
@@ -131,8 +131,6 @@ struct gbaudio_control {
struct gbaudio_data_connection {
int id;
__le16 data_cport;
- int cport_configured;
- char name[NAME_SIZE];
struct gb_connection *connection;
struct list_head list;
};