diff options
author | 2011-12-08 09:50:54 +0300 | |
---|---|---|
committer | 2012-01-10 10:00:42 +0000 | |
commit | 7920aa5a9d841fc7a10ff53a5a775f821d7a6ba1 (patch) | |
tree | 4604bbb97b3f0a69b5921aa71b804d0c71e9aa98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/radeon: double lock typo in radeon_vm_bo_rmv() (diff) | |
download | linux-dev-7920aa5a9d841fc7a10ff53a5a775f821d7a6ba1.tar.xz linux-dev-7920aa5a9d841fc7a10ff53a5a775f821d7a6ba1.zip |
drm/ttm: fix condition (and vs or)
The "if (!p && !p->dev)" condition isn't right because || was intended
instead of &&. But actually, "p" is the list cursor and so it's always
non-NULL and we can just remove that bit. We can remove the another
similar check as well.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions