From: H Hartley Sweeten Date: Tue, 4 Mar 2014 18:29:31 +0000 (-0700) Subject: staging: comedi: pcl816: remove 'dmasamplesize' from private data X-Git-Tag: firefly_0821_release~176^2~4193^2~672 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=080ee8820d9c17b79658b03e35b6236c041068b8;p=firefly-linux-kernel-4.4.55.git staging: comedi: pcl816: remove 'dmasamplesize' from private data This member of the private data is not used. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c index 682101734807..66d3c5a4f2ce 100644 --- a/drivers/staging/comedi/drivers/pcl816.c +++ b/drivers/staging/comedi/drivers/pcl816.c @@ -112,7 +112,6 @@ struct pcl816_private { unsigned int hwdmasize; unsigned long dmabuf[2]; /* pointers to begin of DMA buffers */ unsigned int hwdmaptr[2]; /* hardware address of DMA buffers */ - unsigned int dmasamplsize; /* size in samples hwdmasize[0]/2 */ int next_dma_buf; /* which DMA buffer will be used next round */ long dma_runs_to_end; /* how many we must permorm DMA transfer to end of record */ unsigned long last_dma_run; /* how many bytes we must transfer on last DMA page */