mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ioatdma: ioat3_alloc_sed can be static
Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Acked-by: Dave Jiang <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
75c6f0ab48
commit
e6a30fec08
1 changed files with 2 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ static void pq16_set_src(struct ioat_raw_descriptor *desc[3],
|
|||
pq16->coef[idx - 8] = coef;
|
||||
}
|
||||
|
||||
struct ioat_sed_ent *
|
||||
static struct ioat_sed_ent *
|
||||
ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool)
|
||||
{
|
||||
struct ioat_sed_ent *sed;
|
||||
|
|
@ -287,7 +287,7 @@ ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool)
|
|||
return sed;
|
||||
}
|
||||
|
||||
void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed)
|
||||
static void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed)
|
||||
{
|
||||
if (!sed)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue