]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/cpum_sf: Ignore qsi() return code
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 8 Aug 2024 08:58:57 +0000 (10:58 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2024 14:17:01 +0000 (16:17 +0200)
commit6d9a732d8a4ab4a56eb7b4b9922f85fedc5827dd
treea293a849e1687ed860dfb0270733c8ed6eb1faa7
parent742a7557164bbde9f3263aeebc581fb985fe7dbc
s390/cpum_sf: Ignore qsi() return code

qsi() executes the instruction qsi (query sample information)
and stores the result of the query in a sample information block
pointed to by the function argument. The instruction does not
change the condition code register. The return code is always
zero. No need to check for errors. Remove now unreferenced
macros PMC_FAILURE and RS_INIT_FAILURE_QSI.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/perf_cpum_sf.c