diff options
author | Y.C. Chen <yc_chen@aspeedtech.com> | 2017-02-22 15:10:50 +1100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-02-28 13:24:53 +1000 |
commit | 905f21a49d388de3e99438235f3301cabf0c0ef4 (patch) | |
tree | 39a1234ca0b1260f2319cfdfac272b65bb2ae40e /lib/syscall.c | |
parent | 94fdc2a86a927b409d9a09ba28bcb08e34f3ac8d (diff) |
drm/ast: Fix test for VGA enabled
The test to see if VGA was already enabled is doing an unnecessary
second test from a register that may or may not have been initialized
to a valid value. Remove it.
Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <stable@vger.kernel.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Tested-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions