diff options
author | XU pengfei <xupengfei@nfschina.com> | 2023-01-11 12:36:06 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-02-03 07:30:10 -0800 |
commit | 554df454e2fa117b36b2238f3b3467ef02a10fa0 (patch) | |
tree | 440c44c09895154b7e5d8712d3914619366af03f /drivers/hwmon | |
parent | e2e09989ccc21ad428d6393450add78584b143bd (diff) | |
download | linux-stable-554df454e2fa117b36b2238f3b3467ef02a10fa0.tar.gz linux-stable-554df454e2fa117b36b2238f3b3467ef02a10fa0.tar.bz2 linux-stable-554df454e2fa117b36b2238f3b3467ef02a10fa0.zip |
hwmon: ibmpex: remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast.
Signed-off-by: XU pengfei <xupengfei@nfschina.com>
Link: https://lore.kernel.org/r/20230111043605.3726-1-xupengfei@nfschina.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/ibmpex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ibmpex.c b/drivers/hwmon/ibmpex.c index 1837cccd993c..db066b368918 100644 --- a/drivers/hwmon/ibmpex.c +++ b/drivers/hwmon/ibmpex.c @@ -546,7 +546,7 @@ static void ibmpex_bmc_gone(int iface) static void ibmpex_msg_handler(struct ipmi_recv_msg *msg, void *user_msg_data) { - struct ibmpex_bmc_data *data = (struct ibmpex_bmc_data *)user_msg_data; + struct ibmpex_bmc_data *data = user_msg_data; if (msg->msgid != data->tx_msgid) { dev_err(data->bmc_device, |