mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 16:53:58 -05:00
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>
This commit is contained in:
parent
e2e09989cc
commit
554df454e2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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) {
|
if (msg->msgid != data->tx_msgid) {
|
||||||
dev_err(data->bmc_device,
|
dev_err(data->bmc_device,
|
||||||
|
|
Loading…
Add table
Reference in a new issue