ioatdma: ioat3_alloc_sed can be static
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 16 Apr 2013 05:41:26 +0000 (13:41 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 16 Apr 2013 13:19:40 +0000 (18:49 +0530)
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>
drivers/dma/ioat/dma_v3.c

index 28f8957bafe263c2b2b8c6d473550f90968fa97c..ca6ea9b3551b3f0307b1440a55dcd92a64e2f466 100644 (file)
@@ -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;