staging: comedi: drivers: pcl812.c: add curly braces for checkpatch
Kernel style is that if one side of the if else statement gets has curly braces then both side should have them. Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
571845c6f4
commit
6425b1c2d2
@ -811,8 +811,9 @@ static int pcl812_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||
devpriv->ai_dma = 0;
|
||||
break;
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
devpriv->ai_dma = 0;
|
||||
}
|
||||
|
||||
devpriv->ai_act_scan = 0;
|
||||
devpriv->ai_poll_ptr = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user