diff options
author | Chase Southwood <chase.southwood@gmail.com> | 2014-09-10 01:04:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 14:36:06 -0700 |
commit | bfc81c4a223ec2ecdc3ca955b4c060c64e5fb71f (patch) | |
tree | 8f6e742ade72f2b3ef941cd5c74cf2b4bf249b9d /drivers/staging | |
parent | 8aeec82ffdbf248e57caa52f1702dd09a45711ed (diff) |
staging: comedi: hwdrv_apci3120: else is not useful after return
The statement nested in an else after a return may be brought out one
indent level, the else is useless.
Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c index 91d90ce3418e..c6103a6d6bff 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c @@ -1217,8 +1217,8 @@ static int apci3120_ai_cmd(struct comedi_device *dev, if (cmd->scan_begin_src == TRIG_FOLLOW) return apci3120_cyclic_ai(1, dev, s); - else /* TRIG_TIMER */ - return apci3120_cyclic_ai(2, dev, s); + /* TRIG_TIMER */ + return apci3120_cyclic_ai(2, dev, s); } /* |