From: Catalin Iacob <iacobcatalin@gmail.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Madhavan Srinivasan <maddy@linux.ibm.com>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
Rich Felker <dalias@libc.org>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
"David S. Miller" <davem@davemloft.net>,
Andreas Larsson <andreas@gaisler.com>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Jens Axboe <axboe@kernel.dk>,
Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org,
sparclinux@vger.kernel.org, linux-scsi@vger.kernel.org,
Catalin Iacob <iacobcatalin@gmail.com>
Subject: [PATCH v3 1/6] scsi: core: Remove remaining reference to the pktcdvd driver
Date: Thu, 04 Jun 2026 16:20:24 +0300 [thread overview]
Message-ID: <20260604-remove-pktcdvd-references-v3-1-e2f06fb4eef4@gmail.com> (raw)
In-Reply-To: <20260604-remove-pktcdvd-references-v3-0-e2f06fb4eef4@gmail.com>
Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind an
export that is now dead code. Remove it.
Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com>
---
drivers/scsi/scsi_lib.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 85eef401925a..b67f0dc79499 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -2224,14 +2224,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q)
return sdev;
}
-/*
- * pktcdvd should have been integrated into the SCSI layers, but for historical
- * reasons like the old IDE driver it isn't. This export allows it to safely
- * probe if a given device is a SCSI one and only attach to that.
- */
-#ifdef CONFIG_CDROM_PKTCDVD_MODULE
-EXPORT_SYMBOL_GPL(scsi_device_from_queue);
-#endif
/**
* scsi_block_requests - Utility function used by low-level drivers to prevent
--
2.54.0
next prev parent reply other threads:[~2026-06-04 13:19 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-30 12:31 [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue Catalin Iacob
2026-05-30 12:46 ` John Paul Adrian Glaubitz
2026-06-03 13:27 ` [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver Catalin Iacob
2026-06-03 15:36 ` John Garry
2026-06-03 16:06 ` Bart Van Assche
2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob
2026-06-04 13:20 ` Catalin Iacob [this message]
2026-06-04 15:51 ` [PATCH v3 1/6] scsi: core: Remove remaining reference " Bart Van Assche
2026-06-05 7:30 ` Geert Uytterhoeven
2026-06-04 13:20 ` [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h Catalin Iacob
2026-06-04 15:51 ` Bart Van Assche
2026-06-04 13:20 ` [PATCH v3 3/6] mips: Remove remaining defconfig references to the pktcdvd driver Catalin Iacob
2026-06-04 13:20 ` [PATCH v3 4/6] powerpc: " Catalin Iacob
2026-06-04 13:20 ` [PATCH v3 5/6] sh: Remove remaining defconfig reference " Catalin Iacob
2026-06-04 13:20 ` [PATCH v3 6/6] sparc: Remove remaining defconfig references " Catalin Iacob
2026-06-04 15:50 ` [PATCH v3 0/6] Remove remaining " Bart Van Assche
2026-06-04 20:59 ` Catalin Iacob
2026-06-04 21:17 ` Bart Van Assche
2026-06-08 14:29 ` [PATCH v4 0/5] " Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 1/5] scsi: core: Remove export for scsi_device_from_queue() Catalin Iacob
2026-06-16 1:33 ` Martin K. Petersen
2026-06-08 14:29 ` [PATCH v4 2/5] mips: Remove remaining defconfig references to the pktcdvd driver Catalin Iacob
2026-06-15 10:28 ` Thomas Bogendoerfer
2026-06-08 14:29 ` [PATCH v4 3/5] powerpc: " Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 4/5] sh: Remove remaining defconfig reference " Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 5/5] sparc: Remove remaining defconfig references " Catalin Iacob
2026-06-15 10:52 ` Andreas Larsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260604-remove-pktcdvd-references-v3-1-e2f06fb4eef4@gmail.com \
--to=iacobcatalin@gmail.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=andreas@gaisler.com \
--cc=axboe@kernel.dk \
--cc=chleroy@kernel.org \
--cc=dalias@libc.org \
--cc=davem@davemloft.net \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=martin.petersen@oracle.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=sparclinux@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.