Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1230739rwl; Thu, 10 Aug 2023 08:13:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbjmt6wL0z6xl/7vQgIuGkcs9hS3MzvlhK9l2Dp15onGH3XgUlpj4A86MaPecJVJNgCMb+ X-Received: by 2002:a17:902:b716:b0:1bb:dbec:40ba with SMTP id d22-20020a170902b71600b001bbdbec40bamr2595787pls.16.1691680411214; Thu, 10 Aug 2023 08:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691680411; cv=none; d=google.com; s=arc-20160816; b=GNSE7Mgn5io+D930zVfi2ArEJjpv914n1L/a9lbyAiJ2dNzQeyqvIRrEV2FYfm29R4 JHRTKpuxjOWl4xvK1Uw2eUhhd3lcr3/sZfUnpp0IQ9MTi9Fkk8xzLgk5stLgdGTj9I89 YotoNzsF0ohxNGd5IQ4mAO+xAwnYREQ+n//5/0DtUAmsfb0pRMbPhcrc/vpBBIBgeVGo +qqepczgN+TW8s4wUtYUtGNZaIoPOFP6noENCQxvYRjNmo8MJ5h1WCa0x04lQiSMxnq/ 16uhvJUkg9aJCLIQKEJQu+6Wa0yiKg6WMzcRleuPwX2ZChielz6U8t5l0sbNWDtN0/Ad d9QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qFrxV/pGhjQzJvv801BTAVLFgZ7QS+d/MWqjjHclsnc=; fh=tejOPmJ6hFat9WyhE90NQUqIYhufncB+LJfdJsBOhyM=; b=k1Kat14jNUgOIuIk43Zutft56ufc7mEFPvSmfGD5Yo7JY6vu8q4qK0MJqsBxdoLYSt TEdgOLXR6Hq2cLqGb7aGITn/q/3RYFzp/aojlFXyiNGJdBsbOecv82UZw+76HlcAh59U xyu91iUPCMMvDtGLF+f4JdJxMsS+FrTgPlpTLj+aYqsgRWkFc3rBMyVrS6/nEBXS7biP Ug+Yb7i7Es+RT/aAqM+h/1ixYQvlKuNuyYGTzzXRbLtoVFXVy+KPyemJ4A5AExwmjwNO LisJDfa4qmtDFwwcM/9DdmUkXLDXzdkOSUpNpMkjtdJWr1xpeUIpgheltiWb1WuNnyGr rFew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rgJUvBkB; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a170902e88600b001bc3948d598si1662720plg.448.2023.08.10.08.13.18; Thu, 10 Aug 2023 08:13:31 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=rgJUvBkB; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235648AbjHJOWu (ORCPT + 99 others); Thu, 10 Aug 2023 10:22:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235644AbjHJOWg (ORCPT ); Thu, 10 Aug 2023 10:22:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB4252702; Thu, 10 Aug 2023 07:22:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 82E0865DAF; Thu, 10 Aug 2023 14:22:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51790C433C7; Thu, 10 Aug 2023 14:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691677350; bh=ISbGQKHWjQZRyYhsqJ9yc7rqseEvmVUOesxoBZWtIsY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rgJUvBkBXyee745Ct1M5KdVyUKUZNJiAgNiUIGplaDMu2hMFn8v/IM4F5l6sK6+ZY +KImntCYp3KZQbqAwAKy0JpVtMe3OO3Hnv/fzz8gMkFobUsGQF7zSFUSgW/Z3FdS9i Z6LTo1bD8FcXaTxhBMINfstRZX7W6SIQNZtg4hvoW75adjwzvxUJ+pifLLdx+lsKah kKxHR3metr5beZSndYM4n7R56mZRCX0AEyKcXkYZI8uYU+p9b7vTjQbDDZjV6LejkK tgvClsudO87hSCxrrVxjTVJbrLIFid2e4wBjLf9gcSVwaElMkXV1hT0kipCLbL6Orm 9sxezx7zj7e0Q== From: Arnd Bergmann To: Andrew Morton , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" Cc: Arnd Bergmann , Bart Van Assche , linux-scsi@vger.kernel.org Subject: [PATCH 11/17] scsi: gvp11: remove unused gvp11_setup() function Date: Thu, 10 Aug 2023 16:19:29 +0200 Message-Id: <20230810141947.1236730-12-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810141947.1236730-1-arnd@kernel.org> References: <20230810141947.1236730-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 From: Arnd Bergmann This function has no declaration, which causes a warning: drivers/scsi/gvp11.c:53:6: error: no previous prototype for 'gvp11_setup' [-Werror=missing-prototypes] Since there is also no caller, just remove the function. Signed-off-by: Arnd Bergmann --- drivers/scsi/gvp11.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index d2eddad099a2b..0420bfe9bd42d 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c @@ -50,11 +50,6 @@ static irqreturn_t gvp11_intr(int irq, void *data) static int gvp11_xfer_mask = 0; -void gvp11_setup(char *str, int *ints) -{ - gvp11_xfer_mask = ints[1]; -} - static int dma_setup(struct scsi_cmnd *cmd, int dir_in) { struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd); -- 2.39.2