mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
Simplify function returns by merging assignment and return into
one command line.
Found with Coccinelle
@@
expression e, ret;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| platform_net.c | ||
| platform_net.h | ||
| TODO | ||
| xlr_net.c | ||
| xlr_net.h | ||