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: <20241008072620.38663-1-bajing@cmss.chinamobile.com>
Date: Tue,  8 Oct 2024 15:26:20 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: James.Bottomley@...senPartnership.com
Cc: deller@....de,
	linux-parisc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] parisc: lba_pci: remove unused macro

By reading the code, I found the macro LBA_MASTER_ABORT_ERROR 
is never referenced in the code. Just remove it.

Signed-off-by: Ba Jing <bajing@...s.chinamobile.com>
---
 drivers/parisc/lba_pci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c
index 3fc3765fddaa..5990766b6561 100644
--- a/drivers/parisc/lba_pci.c
+++ b/drivers/parisc/lba_pci.c
@@ -277,7 +277,6 @@ static int lba_device_present(u8 bus, u8 dfn, struct lba_device *d)
  *		smart mode as well.
  */
 
-#define LBA_MASTER_ABORT_ERROR 0xc
 #define LBA_FATAL_ERROR 0x10
 
 #define LBA_CFG_MASTER_ABORT_CHECK(d, base, tok, error) {		\
-- 
2.33.0




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ