]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-dpaa2: ethsw: Remove return variable
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>
Tue, 19 Mar 2019 19:22:31 +0000 (00:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2019 06:54:05 +0000 (07:54 +0100)
commitecba260c25631793c5dc3c55150946d0369c7c46
tree809842e8c5df5923c314455e0e46fc0cdb76ee7a
parent16b7414400c6e2fc2a487e2364e69a38a0493c7f
staging: fsl-dpaa2: ethsw: Remove return variable

Remove return variable and return return value directly. Issue found by
Coccinelle using ret.cocci.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c