diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-02-04 15:18:43 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-07 13:33:54 +0100 |
| commit | 5e767cca2964d6225ca6eebe2efade6e0fe99557 (patch) | |
| tree | d679cff3c7639c0be730ef605cd2e92bb8afb7f5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: sm750fb: Rename setDisplayControl to set_display_control - style (diff) | |
| download | linux-5e767cca2964d6225ca6eebe2efade6e0fe99557.tar.gz linux-5e767cca2964d6225ca6eebe2efade6e0fe99557.zip | |
staging: rtl8192u: remove redundant nul check on pointer dev
There is a null check on pointer dev which implies it may be null, however
dev can never be null as it is set in rtl8192_usb_probe via the call
to usb_set_intfdata.
Detected by CoverityScan, CID#143078 ("Dereference after null check")
Fixes: 8fc8598e61f6 ("Staging: Added Realtek rtl8192u driver to staging")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
