mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Staging: comedi: remove unnecessary braces in pcl711.c
This patch for pcl711.c removes braces causing a checkpatch.pl warning. It also removes an empty else arm of an if-else statement. Signed-off-by: Chase Southwood <chase.southwood@yahoo.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3a915dd250
commit
8aee843abb
1 changed files with 1 additions and 4 deletions
|
|
@ -336,11 +336,8 @@ static int pcl711_ai_cmdtest(struct comedi_device *dev,
|
|||
err |= cfc_check_trigger_arg_is(&cmd->convert_arg, 0);
|
||||
err |= cfc_check_trigger_arg_is(&cmd->scan_end_arg, cmd->chanlist_len);
|
||||
|
||||
if (cmd->stop_src == TRIG_NONE) {
|
||||
if (cmd->stop_src == TRIG_NONE)
|
||||
err |= cfc_check_trigger_arg_is(&cmd->stop_arg, 0);
|
||||
} else {
|
||||
/* ignore */
|
||||
}
|
||||
|
||||
if (err)
|
||||
return 3;
|
||||
|
|
|
|||
Loading…
Reference in a new issue