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

Commit 33bbf959 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Linus Torvalds
Browse files

include/asm-frv/thread_info.h: kmalloc + memset conversion to kzalloc

parent ef0fce85
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -88,9 +88,8 @@ register struct thread_info *__current_thread_info asm("gr15");
	({							\
		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