mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: octeon: remove unused cvmx_pko_get_base_queue_per_core() stub
@ 2026-10-31 16:09 Rareș-Mihai Vladu
  2026-10-31 20:30 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Rareș-Mihai Vladu @ 2026-10-31 16:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Rareș-Mihai Vladu

cvmx_pko_get_base_queue_per_core() is not used by the driver, so its
stub for COMPILE_TEST builds is never called. Remove it.

Signed-off-by: Rareș-Mihai Vladu <vladurares@gmail.com>
---
 drivers/staging/octeon/octeon-stubs.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
index 9c1968b7e2d10..ac7a98093398d 100644
--- a/drivers/staging/octeon/octeon-stubs.h
+++ b/drivers/staging/octeon/octeon-stubs.h
@@ -1323,11 +1323,6 @@ static inline void cvmx_pko_disable(void)
 static inline void cvmx_pko_shutdown(void)
 { }
 
-static inline int cvmx_pko_get_base_queue_per_core(int port, int core)
-{
-	return port;
-}
-
 static inline int cvmx_pko_get_base_queue(int port)
 {
 	return port;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-31 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 16:09 [PATCH] staging: octeon: remove unused cvmx_pko_get_base_queue_per_core() stub Rareș-Mihai Vladu
2026-10-31 20:30 ` Greg Kroah-Hartman
2026-10-31 21:00   ` Vladu Rares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®