mirror of https://github.com/thesofproject/sof.git
audio: Remove excess blank lines
This patch removes excess blank lines from "pipeline.c" and "switch.c" to make the code easier to read and to silence checkpatch.pl script. Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
This commit is contained in:
parent
dd968a62ec
commit
0f43fcbbbf
|
@ -260,7 +260,6 @@ static void pipeline_comp_period_frames(struct comp_dev *current,
|
|||
else
|
||||
samplerate = rate;
|
||||
|
||||
|
||||
/* Samplerate is in kHz and period in microseconds.
|
||||
* As we don't have floats use scale divider 1000000.
|
||||
* Also integer round up the result.
|
||||
|
@ -821,7 +820,6 @@ static int pipeline_comp_xrun(struct comp_dev *current, void *data, int dir)
|
|||
/* get host timestamps */
|
||||
platform_host_timestamp(current, ppl_data->posn);
|
||||
|
||||
|
||||
/* send XRUN to host */
|
||||
ipc_stream_send_xrun(current, ppl_data->posn);
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
trace_error_comp(TRACE_CLASS_SWITCH, comp_ptr, \
|
||||
__e, ##__VA_ARGS__)
|
||||
|
||||
|
||||
static struct comp_dev *switch_new(struct sof_ipc_comp *comp)
|
||||
{
|
||||
trace_switch("switch_new()");
|
||||
|
@ -41,14 +40,12 @@ static struct comp_dev *switch_new(struct sof_ipc_comp *comp)
|
|||
|
||||
static void switch_free(struct comp_dev *dev)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* set component audio stream parameters */
|
||||
static int switch_params(struct comp_dev *dev,
|
||||
struct sof_ipc_stream_params *params)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -63,7 +60,6 @@ static int switch_cmd(struct comp_dev *dev, int cmd, void *data,
|
|||
/* copy and process stream data from source to sink buffers */
|
||||
static int switch_copy(struct comp_dev *dev)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue