staging: wfx: remove variable declaration
authorKaaira Gupta <kgupta@es.iitr.ac.in>
Tue, 10 Mar 2020 14:25:08 +0000 (19:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2020 07:04:53 +0000 (08:04 +0100)
commit02a33f8e06f3be399aa547653715bf0e02b59e82
tree85ac6144d5ec2f38e163b751e754510af1230542
parent3f716acc27109fdc52a17a85f67bb35c55a80c7d
staging: wfx: remove variable declaration

int ret is uneccessarily declared and 0 assigned to it. Return o
directly instead.

Signed-off-by: Kaaira Gupta <kgupta@es.iitr.ac.in>
Link: https://lore.kernel.org/r/20200310142509.25632-6-kgupta@es.iitr.ac.in
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c