summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2019-02-21 00:57:19 +0100
committerFelix Fietkau <nbd@nbd.name>2019-02-26 12:25:18 +0100
commitcb1847cce03c9787e888cb545096bd53c702cf20 (patch)
tree4f83205946fee631955c4f8a20c63060fd25cde1 /tools/perf/scripts/python/export-to-postgresql.py
parentfc994dbbd94e638fbdabb9d8acd965800a6f25dd (diff)
mt76: usb: fix warning in mt76u_buf_free
Fix following static checker warning in mt76u_buf_free: drivers/net/wireless/mediatek/mt76/usb.c:372 mt76u_buf_free() warn: address of 'urb->sg[i]' is non-NULL There is no need to check sg page pointer since urb->num_sgs has been already validated in mt76u_fill_rx_sg Fixes: cb83585e1121 ("mt76: usb: fix possible memory leak in mt76u_buf_free") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions