Skip to contentSkip to conversation

fs: yaffs2: Make yaffsfs_deviceList static

PATCH In review Bin Meng 2 participants 2 messages Apr 5, 2023 – Apr 26, 2023

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 fs: yaffs2: Make yaffsfs_deviceList static

yaffsfs_deviceList is only referenced in yaffsfs.c

---

 fs/yaffs2/yaffsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/yaffs2/yaffsfs.c +1 -1
index 510faaeed1..d615f02d3f 100644
@@ -468,7 +468,7 @@ static int yaffsfs_alt_dir_path(const YCHAR *path, YCHAR **ret_path)
 	return 0;
 }
 
-LIST_HEAD(yaffsfs_deviceList);
+static LIST_HEAD(yaffsfs_deviceList);
 
 /*
  * yaffsfs_FindDevice
Signature · 1 line
2.34.1