powerpc/eeh: Remove unnecessary cast
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 11 Oct 2023 05:37:10 +0000 (16:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Oct 2023 06:16:20 +0000 (17:16 +1100)
commit82f635243f209a85d3deb9f64439c3ea84cd4ecb
treea2ede81dec7f2001062aa4e867933e3db1cedb18
parent2c4ce3e65b1a543123ffcec4b021ad6ebd4e4e4e
powerpc/eeh: Remove unnecessary cast

Sparse reports a warning when casting to an int. There is no need to
cast in the first place, so drop them.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231011053711.93427-12-bgray@linux.ibm.com
arch/powerpc/kernel/eeh_driver.c