staging: comedi: Removed not necessary braces for single block
PATCH 1/1 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 Kumar Khasdev <[email protected]>
--- drivers/staging/comedi/comedi_fops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/comedi/comedi_fops.c +1 -2
@@ -1605,9 +1605,8 @@ 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);
--
2.13.6
Greg KH
maintainerQuoted 6 lines · root
This patch is used to remove not necessary braces for single if block.
Signed-off-by Jitendra Kumar Khasdev <[email protected]>--- drivers/staging/comedi/comedi_fops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
"interesting" email name you used here :)
Please fix up, it has to match the signed-off-by line.
thanks,
greg k-h
Quoted 5 lines
"interesting" email name you used here :)
Please fix up, it has to match the signed-off-by line.
I fixed and resent the patch again.
---
Jitendra