From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84A32C433E0 for ; Tue, 9 Mar 2021 20:55:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 247696522E for ; Tue, 9 Mar 2021 20:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231272AbhCIUzW (ORCPT ); Tue, 9 Mar 2021 15:55:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231657AbhCIUzR (ORCPT ); Tue, 9 Mar 2021 15:55:17 -0500 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F03E6C06174A for ; Tue, 9 Mar 2021 12:55:16 -0800 (PST) Received: by mail-il1-x132.google.com with SMTP id s1so13428623ilh.12 for ; Tue, 09 Mar 2021 12:55:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=82eBB3E2DacQoVm2VyMBPmiOYe7OtrPZtkyvzf8UBso=; b=NzAEfovl+Bj+96UVUdYcDBMZBvvpZcuehFFKlOV8KeM4IPG+R6Vi/hL4Qqy5ipZJEh ez6yxvCTYcOg7aZ60zEBWMpVqDEfG+0c7/DUamDzl76bluM0B4547YyzAOP55jyCBHYx qbRutjVFfJm8sU3lwYKqzXMdbpP1dnBof1yTpsRLlpUvaBD+y/2CvxQjIFiIkvAWalRN YzcwKuxb3KRrnDIn5fMBZxQmNwzSL/tdy2vbRUzB7Wy2mHYpfj1+98siEVQiNf9XKYM2 5ABfV9eerLmZ0XBryI39g+dqNSSeLET+6wx7YElpc9+jKi0j01zCkemHz/xDgEcLev3f nTvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=82eBB3E2DacQoVm2VyMBPmiOYe7OtrPZtkyvzf8UBso=; b=DnY3H6E273ilbrXW7cjkjUlWqdZNmgvY0Y1xxwobNysFYdo2Jx1Nv90LOYgeijJUOY b+mwtdOIjgQAj8DzPbSbTxvY61xEuzkwB+FzHNYjtkQdaF73w0AvKxCFekHyfu8F18vO AN9+B62hmbUQrhzA+C6WPwRR2dRfDXzZj7CX5iK4SJwjyWGaQFH+8vnIw2K4Y8+1hwmo Hvbhtpb8AD1JK5sDH2L2HoiicnW7pVW/FZittdR3J1OmZvHYaXpNA7sPHOhYn5j9jZdc mzg97+h9WIm4UrkhsrIUigYCi6ZAfvVMb1+bXi9HO0lOrl2W0ruH2RmMHcBy8lE7qsSc RVDw== X-Gm-Message-State: AOAM532eYG5U2HrTnWTH6kNGD9vrqtsfoSaULUQfmZ4SGfrwzpRR51NQ g00GIu0/ih7INui1RCqo1IVE5h4vJyihBQ== X-Google-Smtp-Source: ABdhPJxbuCq4KxLZ9Q6Ss/VRxgbZ6BExPAPA4eT8CzfNeV8q1SvVWsQKp4zUoJy1An73XBVHxuGp9w== X-Received: by 2002:a92:360a:: with SMTP id d10mr41654ila.198.1615323316465; Tue, 09 Mar 2021 12:55:16 -0800 (PST) Received: from [192.168.1.30] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id x2sm378067ilv.36.2021.03.09.12.55.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Mar 2021 12:55:16 -0800 (PST) Subject: Re: [PATCH] io_uring: remove unneeded variable 'ret' To: Yang Li Cc: asml.silence@gmail.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: <1615271441-33649-1-git-send-email-yang.lee@linux.alibaba.com> From: Jens Axboe Message-ID: <0147f7f5-af42-e28c-1b21-723895f8e09e@kernel.dk> Date: Tue, 9 Mar 2021 13:55:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1615271441-33649-1-git-send-email-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 3/8/21 11:30 PM, Yang Li wrote: > Fix the following coccicheck warning: > ./fs/io_uring.c:8984:5-8: Unneeded variable: "ret". Return "0" on line > 8998 Applied, thanks. -- Jens Axboe