Skip to contentSkip to conversation

ubd:do not initialise statics to 0.

PATCH In review Xin Gao 2 participants 2 messages Jul 20, 2022 – Jul 21, 2022 User-mode Linux (UML)

lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 ubd:do not initialise statics to 0.

do not initialise statics to 0.

---
 arch/um/drivers/ubd_kern.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/drivers/ubd_kern.c +1 -1
index c4344b67628d..ae2fb671ba72 100644
@@ -1555,7 +1555,7 @@ static void do_io(struct io_thread_req *req, struct io_desc *desc)
 int kernel_fd = -1;
 
 /* Only changed by the io thread. XXX: currently unused. */
-static int io_count = 0;
+static int io_count;
 
 int io_thread(void *arg)
 {
Signature · 1 line
2.30.2