Commit bd47469c authored by Hans de Goede's avatar Hans de Goede Committed by Mark Brown

ASoC: Intel: sst: Remove 2 unused members from stream_info struct

Remove the unused ops and str_id members from the stream_info struct.

While at it also remove some kernel-doc comments for members which have
already been removed in the past.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6f506277
...@@ -181,21 +181,15 @@ struct sst_block { ...@@ -181,21 +181,15 @@ struct sst_block {
* *
* @status : stream current state * @status : stream current state
* @prev : stream prev state * @prev : stream prev state
* @ops : stream operation pb/cp/drm...
* @bufs: stream buffer list
* @lock : stream mutex for protecting state * @lock : stream mutex for protecting state
* @pcm_substream : PCM substream * @pcm_substream : PCM substream
* @period_elapsed : PCM period elapsed callback * @period_elapsed : PCM period elapsed callback
* @sfreq : stream sampling freq * @sfreq : stream sampling freq
* @str_type : stream type
* @cumm_bytes : cummulative bytes decoded * @cumm_bytes : cummulative bytes decoded
* @str_type : stream type
* @src : stream source
*/ */
struct stream_info { struct stream_info {
unsigned int status; unsigned int status;
unsigned int prev; unsigned int prev;
unsigned int ops;
struct mutex lock; struct mutex lock;
void *pcm_substream; void *pcm_substream;
...@@ -212,7 +206,6 @@ struct stream_info { ...@@ -212,7 +206,6 @@ struct stream_info {
unsigned int num_ch; unsigned int num_ch;
unsigned int pipe_id; unsigned int pipe_id;
unsigned int str_id;
unsigned int task_id; unsigned int task_id;
}; };
......
...@@ -365,7 +365,6 @@ void sst_init_stream(struct stream_info *stream, ...@@ -365,7 +365,6 @@ void sst_init_stream(struct stream_info *stream,
{ {
stream->status = STREAM_INIT; stream->status = STREAM_INIT;
stream->prev = STREAM_UN_INIT; stream->prev = STREAM_UN_INIT;
stream->ops = ops;
} }
int sst_validate_strid( int sst_validate_strid(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment