Skip to content
Commit 1a35bd4a authored by Kevin Hao's avatar Kevin Hao Committed by Bruce Ashfield
Browse files

OF: DT-Overlay: Drop the unused overlay_lock in configfs.c



This overlay_lock was introduced by commit 6d465323 ("OF:
DT-Overlay configfs interface (v8)"), but it was never used since then.
Drop it to fix the below build error:
  drivers/of/configfs.c:46:21: error: ‘overlay_lock’ defined but not used [-Werror=unused-variable]
     46 | static DEFINE_MUTEX(overlay_lock);
        |                     ^~~~~~~~~~~~

Signed-off-by: default avatarKevin Hao <kexin.hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 2d01d261
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment