ring-buffer: Drop unneeded check in ring_buffer_resize()
authorQiujun Huang <hqjagain@gmail.com>
Thu, 24 Dec 2020 14:46:34 +0000 (22:46 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Feb 2021 22:02:06 +0000 (17:02 -0500)
commitc6358bacdcdb64eb75192a135b66d3d3e57ad2e5
treeb7ccf8353fbafd3145e6630c5e7ce85eb8df705f
parent6689bed36c52e34d772603118b0a31a0a5c11013
ring-buffer: Drop unneeded check in ring_buffer_resize()

Remove the cpumask check, as we has done it at the beginning of
the function.
Also fix a typo. s/also the on the/also on the/

Link: https://lkml.kernel.org/r/20201224144634.3210-1-hqjagain@gmail.com
Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c