mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] parisc: lba_pci: remove unused macro
@ 2024-10-08  7:26 Ba Jing
  2024-10-10 18:50 ` Helge Deller
  0 siblings, 1 reply; 2+ messages in thread
From: Ba Jing @ 2024-10-08  7:26 UTC (permalink / raw)
  To: James.Bottomley; +Cc: deller, linux-parisc, linux-kernel, Ba Jing

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@cmss.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




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

end of thread, other threads:[~2024-10-10 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08  7:26 [PATCH] parisc: lba_pci: remove unused macro Ba Jing
2024-10-10 18:50 ` Helge Deller

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®