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:
Родитель
82f1cebe64
Коммит
56eec1806f
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче