diff options
author | Gerd Hoffmann <[email protected]> | 2019-01-18 13:20:12 +0100 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2019-01-28 14:24:53 +0100 |
commit | 21c76bd19e0c4b780474fe7cb285766edc9715f0 (patch) | |
tree | 20d6ed9dab3e5c50b2bc2c9ff4d9cc65ca80cc2b /scripts/bpf_helpers_doc.py | |
parent | 90adda2ce898c7a76d1a55d4650ade8cc957e54f (diff) |
drm/qxl: use qxl_num_crtc directly
qdev->monitors_config->max_allowed is effectively set by the
qxl.num_heads module parameter, stored in the qxl_num_crtc variable.
Lets get rid of the indirection and use the variable qxl_num_crtc
directly. The kernel doesn't need to dereference pointers each time it
needs the value, and when reading the code you don't have to trace where
and why qdev->monitors_config->max_allowed is set.
Signed-off-by: Gerd Hoffmann <[email protected]>
Acked-by: Noralf Trønnes <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions