staging: comedi: pcl816: remove 'dmasamplesize' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Mar 2014 18:29:31 +0000 (11:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 01:06:11 +0000 (17:06 -0800)
This member of the private data is not used. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl816.c

index 6821017348079c9616ed3a81d444137fec36e9e9..66d3c5a4f2ce763947b9d102d108e60c6926ddfd 100644 (file)
@@ -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 */