]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
perf/x86/intel/pt: Drop pointless NULL assignment.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 8 Apr 2020 23:52:16 +0000 (19:52 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 30 Apr 2020 18:14:36 +0000 (20:14 +0200)
commit4bd30106ddb26d2304adc5bb7bd269825300440d
tree59489a808cdf07d4249cce98d80c883dc4626f7f
parent2ed6edd33a214bca02bd2b45e3fc3038a059436b
perf/x86/intel/pt: Drop pointless NULL assignment.

Only a few lines below this removed line is this:

  attrs = kzalloc(size, GFP_KERNEL);

and since there is no code path where this could be avoided, the
NULL assignment is a pointless relic of history and can be removed.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200408235216.108980-1-paul.gortmaker@windriver.com
arch/x86/events/intel/pt.c