commit | 7aa48d37ae466a5d0eaa0dba8ac88aced83bdec7 | [log] [tgz] |
---|---|---|
author | Nathan Chancellor <natechancellor@gmail.com> | Sun May 06 00:33:32 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 06 19:11:23 2018 -0700 |
tree | 879a42b4bfddb0faae2e01acb30c6dfe03eb1db8 | |
parent | 17521b1a1e948a58f2263d8f5d0d1366d6f11666 [diff] |
staging: wilc1000: Remove useless function GCC warns that 'wid' is unused in wilc_remove_key and it's correct; the variable is only local. Get rid of the function (since it just returns zero) and shuffle the remaining code into one if statement. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>