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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241015000207.5047-1-bajing@cmss.chinamobile.com>
Date: Tue, 15 Oct 2024 08:02:07 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: mporter@...nel.crashing.org
Cc: alex.bou9@...il.com,
	linux-kernel@...r.kernel.org,
	Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] rapidio: rio-access: remove unused macros

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

Signed-off-by: Ba Jing <bajing@...s.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




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ