]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
DMA: PL08x: remove unused constants
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Thu, 21 Jul 2011 16:11:26 +0000 (17:11 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 26 Jul 2011 10:03:28 +0000 (15:33 +0530)
PL08X_WQ_PERIODMIN and PL08X_MAX_ALLOCS are not used, remove them.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c

index e6d7228b1479a6d462b1e19c323541fe5a767a7f..90db51f2d001c9c3cc91eb7dc1b2a117faf0c1e7 100644 (file)
@@ -156,14 +156,10 @@ struct pl08x_driver_data {
 #define PL08X_BOUNDARY_SHIFT           (10)    /* 1KB 0x400 */
 #define PL08X_BOUNDARY_SIZE            (1 << PL08X_BOUNDARY_SHIFT)
 
-/* Minimum period between work queue runs */
-#define PL08X_WQ_PERIODMIN     20
-
 /* Size (bytes) of each LLI buffer allocated for one transfer */
 # define PL08X_LLI_TSFR_SIZE   0x2000
 
 /* Maximum times we call dma_pool_alloc on this pool without freeing */
-#define PL08X_MAX_ALLOCS       0x40
 #define MAX_NUM_TSFR_LLIS      (PL08X_LLI_TSFR_SIZE/sizeof(struct pl08x_lli))
 #define PL08X_ALIGN            8