staging: wilc1000: replace switch statement by simple if condition

In this case,there is only a single switch case statement.So replacing
by a simple if condition

Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
HariPrasath Elango 2018-03-20 17:44:49 +05:30 • committed by Greg Kroah-Hartman
commit a0e8045e6e