Commit 6425b1c2 authored by Kumar Amit Mehta's avatar Kumar Amit Mehta Committed by Greg Kroah-Hartman
Browse files

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: default avatarKumar Amit Mehta <gmate.amit@gmail.com>
Acked-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 571845c6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;