Fix lints
This commit is contained in:
parent
96389fa999
commit
eb38e3c3ba
2 changed files with 9 additions and 13 deletions
|
|
@ -27,6 +27,7 @@ impl DmabufHandler for AppData {
|
|||
feedback: DmabufFeedback,
|
||||
) {
|
||||
if self.gbm.is_none() {
|
||||
#[allow(clippy::unnecessary_cast)]
|
||||
match find_gbm_device(feedback.main_device() as u64) {
|
||||
Ok(Some(gbm)) => {
|
||||
self.gbm = Some(gbm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue