diff options
author | 2018-04-05 14:19:11 +0300 | |
---|---|---|
committer | 2018-05-07 07:15:41 +0200 | |
commit | 698733fbdfcd2f2daaa992ca507a2dad7363c9a8 (patch) | |
tree | ce79f626543b32aacf55bf7999894da1a01a0e25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers: remove force dma flag from buses (diff) | |
download | wireguard-linux-698733fbdfcd2f2daaa992ca507a2dad7363c9a8.tar.xz wireguard-linux-698733fbdfcd2f2daaa992ca507a2dad7363c9a8.zip |
swiotlb: remove an unecessary NULL check
Smatch complains here:
lib/swiotlb.c:730 swiotlb_alloc_buffer()
warn: variable dereferenced before check 'dev' (see line 716)
"dev" isn't ever NULL in this function so we can just remove the check.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions