Commit 56eec180 authored by Jitendra Khasdev's avatar Jitendra Khasdev Committed by Greg Kroah-Hartman

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: default avatarJitendra Khasdev <jkhasdev@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 82f1cebe
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment