Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 185bcd17 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Ralf Baechle
Browse files

[MIPS] thread_info.h: kmalloc + memset conversion to kzalloc

parent 00be0f30
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -87,9 +87,8 @@ register struct thread_info *__current_thread_info __asm__("$28");
({								\
	struct thread_info *ret;				\
								\
	ret = kmalloc(THREAD_SIZE, GFP_KERNEL);			\
	if (ret)						\
		memset(ret, 0, THREAD_SIZE);			\
	ret = kzalloc(THREAD_SIZE, GFP_KERNEL);			\
								\
	ret;							\
})
#else