Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp94010rdb; Wed, 18 Oct 2023 20:15:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLAJYYTbw48oT1dAOvtJOzPA98GM96wfl1QZk+W6jT1bLJ2ed5zr4EFfHzfE2OybMF7Us4 X-Received: by 2002:a17:902:ed01:b0:1ca:3d9c:a752 with SMTP id b1-20020a170902ed0100b001ca3d9ca752mr1323789pld.12.1697685351429; Wed, 18 Oct 2023 20:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697685351; cv=none; d=google.com; s=arc-20160816; b=Nm721c6Gi7/5dkOa/07pkqmUkVDEqzhtehhA9DnqlCI+0TStrpMg5B7GDRlyYujWMo DwJdWQ7UMQ/5B1VESRBudSGq6s5Z2p1LecfMtbhfnrG64Nvay20IauPP1WdlNh+dsOse TSSjAjEKKihP8YdJRh3dKxxJzp+Dpvz6v6LIU7NaJVjL+3jE0wjyJasKmRkEtgLc2N9K 1ygtiaGaabuVl+fPlO08RVXuAqgQmrc6r8sPLAPxDEUlqbaAlpwSUJllpKI5FMmd5050 kbpjGHmIE1R4zxJ895KcKRm+C0NULxku9rKoj+LjzyyC2TpZqQKjwOejQw8B8bVAATNZ j5lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l8WlcZic7kSH9rRX+goplPvwCNzCwt/7uWU5wmIT7u0=; fh=kGSt7b1oZb0Ih5M6fHlHwFIZJpklIiBGQz+VvH0xYgg=; b=aBra+HdGyX3DcuiJdy+0B9KAX6eiAlTyieaK4n0JOAMp8asyGWX0ya4lx0O+6wxxCR jZfzuqBYDZrAsu0iwW5n5ImXcNAlXTP6keYKV/qyONpZW+R9+l0xh3QTUa5WgijclXoG P20t3p4bJh1AqEvkK/5eo848fJip4V5xV4CisunY0FSsU6SI07/nbkZJZ6XWddH3ccY7 SrejWYeKNlSY4jqsd2BUSVsyIY/fyAIqAJiMU7q1yAKvP9TiOcjsE1AiNfd3i8sXL2JO ZTGFfkYjWGQGlloZgXLNQXJba8tx+SBZuIPaK8EmcEZ52crGvOWui6LyUqmOFlqFGdeK LdLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UjVSRcBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id w11-20020a170902e88b00b001c755810f7esi1308157plg.499.2023.10.18.20.15.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 20:15:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UjVSRcBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6C5638263EA2; Wed, 18 Oct 2023 20:15:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232537AbjJSDOe (ORCPT + 99 others); Wed, 18 Oct 2023 23:14:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbjJSDOa (ORCPT ); Wed, 18 Oct 2023 23:14:30 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DDEC9F for ; Wed, 18 Oct 2023 20:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697685224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=l8WlcZic7kSH9rRX+goplPvwCNzCwt/7uWU5wmIT7u0=; b=UjVSRcBNAoWDLbUs3rzZutgUC8L14L0KEBNiJU+ScFu3UvmVE/VuMGsWiQ/FdZzZWddcR+ nkcjPREkdHRqeD2Xk3IR6zYOpU+EZr0Ggr4DRqbpBAerUdYXlujziqhxUgi73qIbvUMXtS 4YP8opbyB/0t4HfvBBH/ripXeBybHLE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-647-soX1RRh7MnCSv2WevTVVmA-1; Wed, 18 Oct 2023 23:13:38 -0400 X-MC-Unique: soX1RRh7MnCSv2WevTVVmA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 831A410201E3; Thu, 19 Oct 2023 03:13:38 +0000 (UTC) Received: from fedora (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D23F2166B26; Thu, 19 Oct 2023 03:13:34 +0000 (UTC) Date: Thu, 19 Oct 2023 11:13:28 +0800 From: Ming Lei To: Jiapeng Chong Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] block: ublk_drv: Remove unused function Message-ID: References: <20231019030444.53680-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231019030444.53680-1-jiapeng.chong@linux.alibaba.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 18 Oct 2023 20:15:09 -0700 (PDT) On Thu, Oct 19, 2023 at 11:04:44AM +0800, Jiapeng Chong wrote: > The function are defined in the ublk_drv.c file, but not called > elsewhere, so delete the unused function. > > drivers/block/ublk_drv.c:1211:20: warning: unused function 'ublk_abort_io_cmds'. > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6938 > Signed-off-by: Jiapeng Chong Fixes: b4e1353f4651 ("ublk: simplify aborting request") Reviewed-by: Ming Lei Thanks, Ming