lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220809022149.8415-1-xupengfei@nfschina.com>
Date:   Tue,  9 Aug 2022 10:21:49 +0800
From:   XU pengfei <xupengfei@...china.com>
To:     daniel.lezcano@...aro.org, tglx@...utronix.de
Cc:     linux-kernel@...r.kernel.org, XU pengfei <xupengfei@...china.com>
Subject: [PATCH 1/1] clocksource/drivers/ingenic: remove unnecessary (void*) conversions

remove unnecessary void* type casting.

Signed-off-by: XU pengfei <xupengfei@...china.com>
---
 drivers/clocksource/ingenic-timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/ingenic-timer.c b/drivers/clocksource/ingenic-timer.c
index 24ed0f1f089b..1ee4a8ced8d4 100644
--- a/drivers/clocksource/ingenic-timer.c
+++ b/drivers/clocksource/ingenic-timer.c
@@ -104,7 +104,7 @@ static int ingenic_tcu_cevt_set_next(unsigned long next,
 
 static void ingenic_per_cpu_event_handler(void *info)
 {
-	struct clock_event_device *cevt = (struct clock_event_device *) info;
+	struct clock_event_device *cevt = info;
 
 	cevt->event_handler(cevt);
 }
-- 
2.18.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ