diff options
| author | 2016-02-04 18:15:40 +0900 | |
|---|---|---|
| committer | 2016-02-07 17:34:58 -0800 | |
| commit | bc4b5b3cf7506fbd21dc42d46c53288fcda6632f (patch) | |
| tree | 5590808329146d001b21d54e0f22e4e8195988e9 /tools/perf/scripts/python/bin/syscall-counts-record | |
| parent | staging: wilc1000: renames u8IfIdx of wilc_vif structure (diff) | |
staging: wilc1000: fixes variable dereferenced before check
This patch fixes the warning reported by smatch.
- wilc_wlan_get_firmware() warn: variable dereferenced before check 'vif'
- wilc_set_multicast_list() warn: variable dereferenced before check 'dev'
Just delete them and no need add null check since they are net_device from
ndo_set_rx_mode of net_device_ops and vif of netdev_priv.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions
