Skip to content

Commit

Permalink
bug fix in commit 330926: simplify setting global all_videl_adapters_…
Browse files Browse the repository at this point in the history
…implement_drm

was setting local variable
  • Loading branch information
rockowitz committed Dec 9, 2024
1 parent 1d9c4aa commit 88e0d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddc/ddc_common_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ all_video_adapters_implement_drm = false;
#ifdef USE_LIBDRM
// For each video adapter node in sysfs, check that subdirectories drm/cardN/cardN-xxx exist
t0 = cur_realtime_nanosec();
bool all_video_adapters_implement_drm = check_all_video_adapters_implement_drm(); // in i2c_sysfs.c
all_video_adapters_implement_drm = check_all_video_adapters_implement_drm(); // in i2c_sysfs.c
t1 = cur_realtime_nanosec();
DBGTRC_NOPREFIX(debug, DDCA_TRC_NONE,
"check_all_video_adapters_implement_drm() returned %s in %"PRIu64" microsec",
Expand Down

0 comments on commit 88e0d15

Please sign in to comment.