summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/smm665.c
diff options
context:
space:
mode:
authorMarkus Elfring2018-02-07 00:39:58 +0100
committerLinus Torvalds2018-02-07 03:32:46 +0100
commit1acd14bfe9f191dcd80df99f80ec3880a706801e (patch)
treee74a973cc4b70b31e59af71b6661a6926bdc5a0b /drivers/hwmon/smm665.c
parentrapidio: delete an unnecessary variable initialisation in three functions (diff)
downloadkernel-qcow2-linux-1acd14bfe9f191dcd80df99f80ec3880a706801e.tar.gz
kernel-qcow2-linux-1acd14bfe9f191dcd80df99f80ec3880a706801e.tar.xz
kernel-qcow2-linux-1acd14bfe9f191dcd80df99f80ec3880a706801e.zip
rapidio: return an error code only as a constant in two functions
* Return an error code without storing it in an intermediate variable. * Delete the label "out" and local variable "rc" which became unnecessary with this refactoring. Link: http://lkml.kernel.org/r/8db441e1-c227-64e7-4747-095da63d7a2e@users.sourceforge.net Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Acked-by: Alexandre Bounine <alexandre.bounine@idt.com> Cc: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/smm665.c')
0 files changed, 0 insertions, 0 deletions