]> git.baikalelectronics.ru Git - kernel.git/commit
staging: pi433: Remove unnecessary variable
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 23 May 2019 12:53:41 +0000 (18:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2019 07:00:44 +0000 (09:00 +0200)
commitbf9a06912f699a0fcc6388a60d7a4f05b2d60f3d
tree3c3d0757e7ce61a46b8cbed315e79582a0d275e5
parent3af844d885f49614d3b8cb6b0f1c20325ed63234
staging: pi433: Remove unnecessary variable

The variable retval is assigned constant values twice, and can therefore
be replaced by its values.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c