All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rapidio: rio-access: remove unused macros
@ 2024-10-15  0:02 Ba Jing
  2024-10-20  6:23 ` kernel test robot
  2024-10-20  6:53 ` kernel test robot
  0 siblings, 2 replies; 3+ messages in thread
From: Ba Jing @ 2024-10-15  0:02 UTC (permalink / raw)
  To: mporter; +Cc: alex.bou9, linux-kernel, Ba Jing

By reading the code, I found these marcos are never referenced
in the code. Just remove them.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 drivers/rapidio/rio-access.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/rapidio/rio-access.c b/drivers/rapidio/rio-access.c
index f9e10647f94e..06135dc9a4ce 100644
--- a/drivers/rapidio/rio-access.c
+++ b/drivers/rapidio/rio-access.c
@@ -11,15 +11,6 @@
 
 #include <linux/rio_drv.h>
 
-/*
- *  Wrappers for all RIO configuration access functions.  They just check
- *  alignment and call the low-level functions pointed to by rio_mport->ops.
- */
-
-#define RIO_8_BAD 0
-#define RIO_16_BAD (offset & 1)
-#define RIO_32_BAD (offset & 3)
-
 /**
  * RIO_LOP_READ - Generate rio_local_read_config_* functions
  * @size: Size of configuration space read (8, 16, 32 bits)
-- 
2.33.0




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

end of thread, other threads:[~2024-10-20  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-15  0:02 [PATCH] rapidio: rio-access: remove unused macros Ba Jing
2024-10-20  6:23 ` kernel test robot
2024-10-20  6:53 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.