Skip to content

Commit

Permalink
ioatdma: ioat3_alloc_sed can be static
Browse files Browse the repository at this point in the history
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
  • Loading branch information
Fengguang Wu authored and Vinod Koul committed Apr 16, 2013
1 parent 75c6f0a commit e6a30fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/dma/ioat/dma_v3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit e6a30fe

Please sign in to comment.