mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: drop match_connectors_with_crtcs() return value
It's unused.
This commit is contained in:
parent
0bf642d246
commit
1e03719361
2 changed files with 2 additions and 4 deletions
|
|
@ -215,7 +215,7 @@ static bool match_connectors_with_crtcs_(struct match_state *st, size_t skips,
|
||||||
return has_best;
|
return has_best;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t match_connectors_with_crtcs(size_t num_conns,
|
void match_connectors_with_crtcs(size_t num_conns,
|
||||||
const uint32_t conns[static restrict num_conns],
|
const uint32_t conns[static restrict num_conns],
|
||||||
size_t num_crtcs, const uint32_t prev_crtcs[static restrict num_crtcs],
|
size_t num_crtcs, const uint32_t prev_crtcs[static restrict num_crtcs],
|
||||||
uint32_t new_crtcs[static restrict num_crtcs]) {
|
uint32_t new_crtcs[static restrict num_crtcs]) {
|
||||||
|
|
@ -237,7 +237,6 @@ size_t match_connectors_with_crtcs(size_t num_conns,
|
||||||
};
|
};
|
||||||
|
|
||||||
match_connectors_with_crtcs_(&st, 0, 0, 0, 0);
|
match_connectors_with_crtcs_(&st, 0, 0, 0, 0);
|
||||||
return st.score;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
|
void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
|
||||||
|
|
|
||||||
|
|
@ -35,9 +35,8 @@ enum {
|
||||||
* or UNMATCHED.
|
* or UNMATCHED.
|
||||||
*
|
*
|
||||||
* new_crtcs is populated with the new connector indices.
|
* new_crtcs is populated with the new connector indices.
|
||||||
* Returns the total number of matched solutions.
|
|
||||||
*/
|
*/
|
||||||
size_t match_connectors_with_crtcs(size_t num_conns,
|
void match_connectors_with_crtcs(size_t num_conns,
|
||||||
const uint32_t conns[static restrict num_conns],
|
const uint32_t conns[static restrict num_conns],
|
||||||
size_t num_crtcs, const uint32_t prev_crtcs[static restrict num_crtcs],
|
size_t num_crtcs, const uint32_t prev_crtcs[static restrict num_crtcs],
|
||||||
uint32_t new_crtcs[static restrict num_crtcs]);
|
uint32_t new_crtcs[static restrict num_crtcs]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue