diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-07-06 14:32:20 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-15 12:31:02 -0400 |
commit | fa01ef38d60096aa689bcc2659aedd4a9ae83cd1 (patch) | |
tree | 36f480d92f8ff8f5d1dd2d3d230e3a7d71c13149 /drivers/dma/pl330.c | |
parent | f0564c7ecbc07a1290dabc8720f9dc03f22fa563 (diff) |
dmaengine: pl330: Remove unused pl330_chanstatus struct
The pl330_chanstatus struct is completely unused, so remove it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/pl330.c')
-rw-r--r-- | drivers/dma/pl330.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 22739c436bc3..9121edeb2727 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c | |||
@@ -375,35 +375,6 @@ struct pl330_req { | |||
375 | struct list_head rqd; | 375 | struct list_head rqd; |
376 | }; | 376 | }; |
377 | 377 | ||
378 | /* | ||
379 | * To know the status of the channel and DMAC, the client | ||
380 | * provides a pointer to this structure. The PL330 core | ||
381 | * fills it with current information. | ||
382 | */ | ||
383 | struct pl330_chanstatus { | ||
384 | /* | ||
385 | * If the DMAC engine halted due to some error, | ||
386 | * the client should remove-add DMAC. | ||
387 | */ | ||
388 | bool dmac_halted; | ||
389 | /* | ||
390 | * If channel is halted due to some error, | ||
391 | * the client should ABORT/FLUSH and START the channel. | ||
392 | */ | ||
393 | bool faulting; | ||
394 | /* Location of last load */ | ||
395 | u32 src_addr; | ||
396 | /* Location of last store */ | ||
397 | u32 dst_addr; | ||
398 | /* | ||
399 | * Pointer to the currently active req, NULL if channel is | ||
400 | * inactive, even though the requests may be present. | ||
401 | */ | ||
402 | struct pl330_req *top_req; | ||
403 | /* Pointer to req waiting second in the queue if any. */ | ||
404 | struct pl330_req *wait_req; | ||
405 | }; | ||
406 | |||
407 | enum pl330_chan_op { | 378 | enum pl330_chan_op { |
408 | /* Start the channel */ | 379 | /* Start the channel */ |
409 | PL330_OP_START, | 380 | PL330_OP_START, |