diff options
| author | Ajay Singh <ajay.kathat@microchip.com> | 2018-08-01 08:03:41 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-02 10:41:37 +0300 |
| commit | 7878abdec92040e8c20ff3f1b8f8ab35d8dafc5b (patch) | |
| tree | 91f0790c2938f5f36ce97f6e8bb3d842a1552da5 /tools/perf/scripts/python | |
| parent | 49328076f6f93bae8376dfb7a19143f613da6f52 (diff) | |
| download | linux-7878abdec92040e8c20ff3f1b8f8ab35d8dafc5b.tar.xz | |
staging: wilc1000: refactor wilc_wlan_handle_isr_ext to avoid goto statement
Refactor wilc_wlan_handle_isr_ext() to avoid the use of the goto label.
Also avoid the unnecessary NULL check for 'wilc->rx_buffer' and
calling wilc_wlan_handle_rxq() only after wilc_wlan_rxq_add() call.
The link [1] contains details for discussion related to this changes.
[1]. https://patchwork.kernel.org/patch/10533601/
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
