summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/intel_punit_ipc.h
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2018-11-21 12:12:14 +0100
committerIngo Molnar <mingo@kernel.org>2018-11-23 07:58:23 +0100
commit6e662ae7bce6db602f79e57791f5fb887fb7d371 (patch)
treeb44e95083122c4cac2d6665e7eb1804843068c36 /arch/x86/include/asm/intel_punit_ipc.h
parentx86/traps: Complete prototype declarations (diff)
downloadlinux-6e662ae7bce6db602f79e57791f5fb887fb7d371.tar.xz
linux-6e662ae7bce6db602f79e57791f5fb887fb7d371.zip
x86/process: Avoid unnecessary NULL check in get_wchan()
Task 'p' is always guaranteed to be non-NULL, because the only call sites are in fs/proc/ which all guarantee a non-NULL task pointer. [ mingo: Improved the changelog. ] Signed-off-by: Yafang Shao <laoar.shao@gmail.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1542798734-12532-1-git-send-email-laoar.shao@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/intel_punit_ipc.h')
0 files changed, 0 insertions, 0 deletions