staging: comedi: Removed not necessary braces for single block

This patch is used to remove not necessary braces for single if block.

Signed-off-by: Jitendra Khasdev <jkhasdev@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jitendra Khasdev 2019-01-15 21:06:56 +05:30 committed by Greg Kroah-Hartman
parent 82f1cebe64
commit 56eec1806f

View File

@ -1605,9 +1605,9 @@ static int do_insn_ioctl(struct comedi_device *dev,
unsigned int n_data = MIN_SAMPLES;
int ret = 0;
if (copy_from_user(&insn, arg, sizeof(insn))) {
if (copy_from_user(&insn, arg, sizeof(insn)))
return -EFAULT;
}
n_data = max(n_data, insn.n);