From patchwork Fri Dec 9 08:41:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 31685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp654988wrr; Fri, 9 Dec 2022 00:48:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5oxFazyGDUSm+mfFwVGMqijpmzx0Ous/qnP1Jttj/bfvCP950Sjmg2fECVQXFTPAIDPYH1 X-Received: by 2002:a05:6a21:e38b:b0:a9:e84f:8893 with SMTP id cc11-20020a056a21e38b00b000a9e84f8893mr6379688pzc.16.1670575722272; Fri, 09 Dec 2022 00:48:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670575722; cv=none; d=google.com; s=arc-20160816; b=Fqd6+7liITyW3+2EILyk2i5z6SQPKhCDck0mhK+c2WvsTyrU5uisH8u95iv7Ue5aYC v0dzTOj70eIQoloxfL0HieOrH6nKbFClKNg9H94IsYsD5qx+oG778q40m4QAx9fQi9Wh BMtKPa8OR5pvXJLmtQzHFxrOfTEC6YAt6TIwSzYFniBZsr8a15kpXz9fr9HLFdO4ingU mtGjJLSeSxwg3NVUXwCTpHZpQOuLGCjRiRb6d/C9oMr5GjHVMGKC2erwjFehebgLgnF9 GY2qfhHyh4BRYCxLagmHSnO75Guv/ig2Whs6CYLkqOOGzZIGhNRDLe6lVSnOxZ3XZO/i Gbrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=sYgdzP39Mql0zjvJT+T/NeOtFYXDAl47Xpm4LtbcItg=; b=ju1XizQZcmdJS6y8e87KdPy+if8J5JjjpYIOwlPZ4DnkWs0HBcVhA+9UFyTOocIbol sVIydmpJvHjalFdkCZNglDr1+56ILoKe4yvVC+L0hNSN0UAYyacDnMfe0RnF+4qVVw/n VMcdfO7AcyPujBVUv0Dd8yPAF9brYSlfqxWJXQZSSs1fst6iKt/BBKdwPqKU4Z+Pzs/6 2jGwzWTe2OnRYcgOYKlOVralGLmHRzrefXyx20zMikHradjEUqBLcOAl6p8gleYwrKKh ZEQk04qXFKNdZk4vH5110iHW1bTeZi2sYY64nu6avJDi7ld/4RyNxUhqs8cGf0yX9Mqu 1nuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="g/c0JYB7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t26-20020a63955a000000b004789dd14e07si1087902pgn.268.2022.12.09.00.48.29; Fri, 09 Dec 2022 00:48:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="g/c0JYB7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbiLIImW (ORCPT + 99 others); Fri, 9 Dec 2022 03:42:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbiLIImS (ORCPT ); Fri, 9 Dec 2022 03:42:18 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECE474FF83; Fri, 9 Dec 2022 00:42:17 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id b2so9846537eja.7; Fri, 09 Dec 2022 00:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sYgdzP39Mql0zjvJT+T/NeOtFYXDAl47Xpm4LtbcItg=; b=g/c0JYB7XkFF+GPMps2pIh6aCduU1FOs8Az9gcNRxtlJDgVcTjMfFLg5IEiryJoWtK slkV5q+0/knYk50p+xc5idAR2CDh0p1d1G6kKqiqNiA58aybFkaVipw1GxZ2OSq05lAn a3JHUqYXPX0JHDfHstM9qKUCJg4RTtUN6aiqSKizybxO0m+yclacQowBaiU7i27yNX72 voIxUd/54XDaklL89+1PrrT2zYp058WfP9HkrRiO5EEPJw2XPf1D0A/BsbOTK4e3Cywb PJg3oAc+Q6Cb54G2N9ThaUHsbDI3vPWyYHajl8MI743T15yUxYPPVp9B2U0N9qpDmFii ZsCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sYgdzP39Mql0zjvJT+T/NeOtFYXDAl47Xpm4LtbcItg=; b=5c0x+zrNa7CIURUBEU7pFRHcYd8wGcQhT+Mka9u3ohZZYZnGsUsiiBXfDVUW3jYxFB pXilKoK56gzVwTmnoXCUn1AbdhaOwDTp6rI2bmDgohyMf9ieW4NGu2gMhU/ZMcwM+g1k 4GlWNt/2xVyLLUrvRCwN5iAmNxC7q5DRjwtnFS8MpqfnxP8ePmTt+0a9vT1RHcqTxlcz z+5AOqLAHoGXKGWQMSh3UaTQUtkVAmTOTzU8yEXQrUh4tVKMdQeYKhaVtZ9+AQYIFns+ FOr/I9bYlchYmYLNOraQdTHo5ynRf8MmiyQW0aXKAJ/s64qst1d0fj7dyjvNqPEDkhwL ON6A== X-Gm-Message-State: ANoB5pkH1trNjZHFG68o4yxEf+e6436xostu/NHjc9N8+jeOypGEVeLg uRVg8QAGMzOoSboPLnrJMWFk+TxNmlQ= X-Received: by 2002:a17:906:174f:b0:7b9:8678:50a5 with SMTP id d15-20020a170906174f00b007b9867850a5mr3942066eje.32.1670575336246; Fri, 09 Dec 2022 00:42:16 -0800 (PST) Received: from felia.fritz.box (200116b826756500611a29889499a521.dip.versatel-1u1.de. [2001:16b8:2675:6500:611a:2988:9499:a521]) by smtp.gmail.com with ESMTPSA id l2-20020a170906938200b007bf5250b515sm305611ejx.29.2022.12.09.00.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 00:42:15 -0800 (PST) From: Lukas Bulwahn To: "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] scsi: remove left-over due to now gone pktcdvd shortcomings Date: Fri, 9 Dec 2022 09:41:30 +0100 Message-Id: <20221209084130.31805-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751725608343896343?= X-GMAIL-MSGID: =?utf-8?q?1751725608343896343?= Commit f40eb99897af ("pktcdvd: remove driver.") removes the pktcdvd driver, including the config CDROM_PKTCDVD and CDROM_PKTCDVD_WCACHE, and the uapi header file. Remove some further unneeded left-over due to now gone pktcdvd shortcomings in the scsi library. Signed-off-by: Lukas Bulwahn Reviewed-by: Christoph Hellwig --- 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 9ed1ebcb7443..d74536d4cc94 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -2018,14 +2018,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