staging: comedi: ni_at_a2150: remove 'volatile' from private data variable

As indicated by checkpatch.pl, "WARNING: Use of volatile is usually
wrong: ...", the 'count' member of the private data does not need to
be volatile.

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>
This commit is contained in:
H Hartley Sweeten 2015-01-12 10:55:46 -07:00 committed by Greg Kroah-Hartman
parent 99b21f22d2
commit 4547854842
1 changed files with 1 additions and 2 deletions

View File

@ -146,8 +146,7 @@ static const struct a2150_board a2150_boards[] = {
};
struct a2150_private {
volatile unsigned int count; /* number of data points left to be taken */
unsigned int count; /* number of data points left to be taken */
unsigned int dma; /* dma channel */
uint16_t *dma_buffer; /* dma buffer */
unsigned int dma_transfer_size; /* size in bytes of dma transfers */