staging: dgnc: Remove 'volatile' modifier where it is not needed

This commit fixes the checkpath warning about misused 'volatile'
modifier. In this case the 'volatile' was not needed as it was used
for regular automatic variable. Thos commit removes the 'volatile'.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Konrad Zapalowicz 2014-08-06 21:01:26 +02:00 committed by Greg Kroah-Hartman
parent 13d1773ace
commit e9b69997e7
1 changed files with 1 additions and 1 deletions

View File

@ -1640,7 +1640,7 @@ static void neo_copy_data_from_queue_to_uart(struct channel_t *ch)
static void neo_parse_modem(struct channel_t *ch, uchar signals)
{
volatile uchar msignals = signals;
uchar msignals = signals;
if (!ch || ch->magic != DGNC_CHANNEL_MAGIC)
return;