]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: iio: cdc: Don't put an else right after a return
authorCatalina Mocanu <catalina.mocanu@gmail.com>
Fri, 19 Sep 2014 22:55:05 +0000 (15:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:49:39 +0000 (17:49 -0700)
commit288903f6b91e759b0a813219acd376426cbb8f14
treefda7a81f6ab7cb837973838ad41f7daed13e955b
parent0a5fcc6b2efdc86619af793e0216a508469cfaa4
staging: iio: cdc: Don't put an else right after a return

This fixes the following checkpatch.pl warning:
WARNING: else is not generally useful after a break or return.

While at it, remove new line for symmetry with the rest of the code.

Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/cdc/ad7150.c