提交 e6a30fec 编写于 作者: F Fengguang Wu 提交者: Vinod Koul

ioatdma: ioat3_alloc_sed can be static

Reported-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Acked-by: NDave Jiang <dave.jiang@intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 75c6f0ab
...@@ -266,7 +266,7 @@ static void pq16_set_src(struct ioat_raw_descriptor *desc[3], ...@@ -266,7 +266,7 @@ static void pq16_set_src(struct ioat_raw_descriptor *desc[3],
pq16->coef[idx - 8] = coef; 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) ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool)
{ {
struct ioat_sed_ent *sed; struct ioat_sed_ent *sed;
...@@ -287,7 +287,7 @@ ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) ...@@ -287,7 +287,7 @@ ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool)
return sed; 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) if (!sed)
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册