alistair23-linux/drivers/rapidio
Markus Elfring 1acd14bfe9 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>
2018-02-06 18:32:46 -08:00
..
devices the rest of drivers/*: annotate ->poll() instances 2017-11-28 11:06:58 -05:00
switches rapidio: constify rio_device_id 2017-11-17 16:10:03 -08:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rio-access.c rapidio: remove global irq spinlocks from the subsystem 2017-10-03 17:54:24 -07:00
rio-driver.c
rio-scan.c
rio-sysfs.c
rio.c rapidio: return an error code only as a constant in two functions 2018-02-06 18:32:46 -08:00
rio.h
rio_cm.c