Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp279457rdb; Thu, 19 Oct 2023 04:31:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKHtONqGF+G8E2paUbHmPykvpk59ooTqYv3QmLB6hPMG5NgS4X6KYgZNe1fxlU3karp87Z X-Received: by 2002:a17:902:d510:b0:1b8:8ff5:2cee with SMTP id b16-20020a170902d51000b001b88ff52ceemr2475576plg.64.1697715097019; Thu, 19 Oct 2023 04:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697715097; cv=none; d=google.com; s=arc-20160816; b=gyJKyemIjAVuaoi/+rlEP7kEvhzHj2QpGLNA7d88JRWvkm3ETLMCzdWkkMXhOsDJgt OFI96pT1Brk61wSGSePYZ7se49uQBLuIbRYQW7PI/RT+b26N4zWQC5toTVku0dUh2tBP hI0/d5WzAkZFOzvpIclgatfhh//r+DLFJYgGe9S+ye7gXugrCLSbpuxvem8B3bKDhjtU Oz4oSeo0Q7tDP0fz2ZNvqDV5hV4Y2TUw3anI35B6JtTNYmfuBy6KggmZtC3IziJEmBPO 429P/RhFO0PAVyIRo1BfAoR0zscHbbBeAi9YtV7Y1h2Bp/6p+CWUkQrK+D8XLlKw/fAL BSgQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=HJEDujWnPhanwrnYk+UI82QdYkyiqzOJ40ODb2Z7lao=; fh=kCvRc+EgM8+OXSVsqmJ0XEGWMx8eXoprBMWqTh4zswY=; b=oEcMpzxMC/+nU7vqtG/uSL6VCAJdxSyeF/Dbvs4GGJgppDInk42x3qZOBJu+CPoh40 pJKLEiVIVD3J3dbKzeq7/Cxb5dTWPySskoZvlC+hO7CXB9ifm+3K7NVGIZIriikx0Tg6 o345SnHWSOHcYXFs1jnSldvpHqbOjOFzaLsbvFKRxbJ+dpAY47BbEThjVsVh8pGeTi2F VCq+mtwYHbtzNuVlOklHrakDzFdFz9YiyFzw3MlzlM7dfAPpGICWmMIaOwMCpz23pL84 3FcMgQYOJhn6CzrX9TTfGBiwJWQ1IEzfCFHc2ngjMbTDqOtE7aM2MFG1LeF7U2pfV2XK Pr0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=Bnu1ulTF; 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 Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id h13-20020a170902680d00b001c5fd2a28desi1917796plk.222.2023.10.19.04.31.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 04:31:36 -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=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=Bnu1ulTF; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7DD9482C2D9D; Thu, 19 Oct 2023 04:31:34 -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 S1345374AbjJSLb1 (ORCPT + 99 others); Thu, 19 Oct 2023 07:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345357AbjJSLbZ (ORCPT ); Thu, 19 Oct 2023 07:31:25 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8D6191 for ; Thu, 19 Oct 2023 04:31:20 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6bcbfecf314so1091562b3a.1 for ; Thu, 19 Oct 2023 04:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1697715080; x=1698319880; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HJEDujWnPhanwrnYk+UI82QdYkyiqzOJ40ODb2Z7lao=; b=Bnu1ulTFo67GEcErM/P/jVFHma/ial2Y3bm2bhqoCGzaQUlFDdc7uO05HVBZlWlIri JJXHzQN4oPz2oTHG0dMWnXjdltMHFQ5zOVI396HSIXUsWUAz2TV3GttiOFkyOx9FOHrX JUchIMfa39N2iPsBOLRCel6KrHLGF5MDVRoXX4rBQWvbsoC7Z9KYfYMJjbt53XQtjd9R AVOcj+aZ9MfNUC+9V/2/2T2FF8ZU/SmNxerf/3Jlokl27v1v7bj69o+rNQt/nmQUoSQX 40+6BgqqwTAi1ll7oL9KC8gXLzqW1+y2JkmUjHXVIG6hCaI7m995Mun/T2ClWHUoOUKS MTcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697715080; x=1698319880; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HJEDujWnPhanwrnYk+UI82QdYkyiqzOJ40ODb2Z7lao=; b=JUzl1itpPKTe4fQcmfCdsSpCQQNKawqWQxnc44gs+jpinfkluk8nqFfzQgxOrZm+Rb h8fVlTw9RZaWVZYRZx/5Qv3rzE1R1SleLyEl3S8iBHDkJ2bTd59+mjiQwQ9sOyYnuL5p WQ+r+Gwqn/K8Ie/oybPe1vDlHdBiD3uHUDpCJOmy/RwGJWYumtBUuMxhGvowJYJvrDyN wRTg8snVTveD/NRsM745GJL4CN1CmgRo1vwy/cI6m0lWqlnwNnxGkkx4iiGpyGXQj4k/ OZzRWzCE5F0b4Qh3fINTjMGABQkT00h51PYZftliLzTFZux9cw4REZddnYZkt8wg6yG6 JWFQ== X-Gm-Message-State: AOJu0YyPRRQfedVJOpmF7KFP0UpBk+k7KbeHayHr0kHeRsxk7K8GAo12 r7qZsPWxO/gWReQMrNXVVPyeLQ== X-Received: by 2002:a05:6a20:4292:b0:15a:2c0b:6c81 with SMTP id o18-20020a056a20429200b0015a2c0b6c81mr1938815pzj.3.1697715080193; Thu, 19 Oct 2023 04:31:20 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.194]) by smtp.gmail.com with ESMTPSA id w2-20020a1709029a8200b001ca23f2470bsm1706154plp.196.2023.10.19.04.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 04:31:19 -0700 (PDT) From: Jens Axboe To: ming.lei@redhat.com, Jiapeng Chong Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot In-Reply-To: <20231019030444.53680-1-jiapeng.chong@linux.alibaba.com> References: <20231019030444.53680-1-jiapeng.chong@linux.alibaba.com> Subject: Re: [PATCH] block: ublk_drv: Remove unused function Message-Id: <169771507904.2601781.4738608164721336393.b4-ty@kernel.dk> Date: Thu, 19 Oct 2023 05:31:19 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-26615 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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]); Thu, 19 Oct 2023 04:31:34 -0700 (PDT) On Thu, 19 Oct 2023 11:04:44 +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'. > > Applied, thanks! [1/1] block: ublk_drv: Remove unused function commit: 411957553bca681f6c6a64f419c352bb7d87c2a5 Best regards, -- Jens Axboe