Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1372345pxf; Fri, 2 Apr 2021 08:45:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRCjEV4W9stHhqmKBvbBEWoSLl5hhVGQ8tZj7iHiD3gszu62d84nFkzs+xd1nWVKk4KpE3 X-Received: by 2002:a05:6402:4395:: with SMTP id o21mr15818606edc.22.1617378329747; Fri, 02 Apr 2021 08:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617378329; cv=none; d=google.com; s=arc-20160816; b=k5YSpYFTBcJoGEMv2kYQmtxRjv+O0ZzR4+hquAkDU+Evin6Ia3ERAwpzEYCf1XTYIB T8tSVDPdL7t1OP6zkxntYhzlpvOJwrO3dl9qFWW+JYUoSi8AxdGpUJsmGCCXwKQyzgwc QxKdnVz750pBKJLkhvB3gtfO/HuZmF+qJBe/kQ4Bh2Vv+XLbin4kjM9vcHIiicGEZwM6 cBAHoJIKRmgmURojmzU8l4ezIwQHmdrl3H/4NpmIbvXd3FBLSRTv9cgw3PozS8hIHC+0 egS6dq1hmBuKX2gG8S0W1m2+ru1aI30Mfn23gd1tryYJnUbjbp1eoheVlty1w7denGcQ 6SrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ggySz5ziFujBJxLBrs7YHDp8OTC2HkWK1c+xKFsqIgE=; b=yzCQz1urBENjzRAN1ij8DLTVPHSTPWN9E7f1cYsLUzOfoCb2jNFXRO5UY9mmKCyNTW 7IbtuiPWkg2Y7PKPjuiesupJLcZ5KD9SdgOjoKGMbc/7nZ0lfPoqujIYlQhkQfbFORtI nCyqKtDZwgzIwBs8Yrl7081oUTnwpkKBhXMjjxBp86O72wTvhIhIGvJ88B++JpL2XIeM IUOQAQOap3CtA2mEeQ+KJwUz8moZRve8t2OftkJaugUVSq8ITtW1FpBmE/7cauWRdMiH C3M/rO1enfJsoR645WvyT4qqOKJbBRcP7hEOulRpxhmHhBzH68PAx1cjDYtEFq0+2RdP kt4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nz7dQjym; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l10si1269462ejx.336.2021.04.02.08.45.06; Fri, 02 Apr 2021 08:45:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nz7dQjym; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235953AbhDBPmY (ORCPT + 99 others); Fri, 2 Apr 2021 11:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234968AbhDBPmY (ORCPT ); Fri, 2 Apr 2021 11:42:24 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2AEDC0613E6; Fri, 2 Apr 2021 08:42:21 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id u20so5946881lja.13; Fri, 02 Apr 2021 08:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ggySz5ziFujBJxLBrs7YHDp8OTC2HkWK1c+xKFsqIgE=; b=Nz7dQjym5qVZsccPilJbfmOGjEgHU6MXQXCryAUdG0ybN3lGI6mBsl1Gwi5F340fnw gmubvWwqdURU3W9hFdxCyhNPvu1p+4RJX6Z+wIYQmnMyPANbC8Xs0K1Qc1mBQ4YuFzby LIk5wcLuGcoVsX2RibIRZAEVSk9K5Myr8Pu3yiY25+9FTJyRA+BNBXYdxVM+qtHqn6q5 r6Ln0yccRTPax8JfcUYyH/YPdCi92DgtkFyZCk6Gb9xxfAgbk8NduhwlqnfZYcKYyRC6 Hh7y+8VlmQf64Rn56rNL1Ct6jnZK3poF7hWlU6CSVLBX9DSCIwnIUSgqL4/+gQqObfPn neEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ggySz5ziFujBJxLBrs7YHDp8OTC2HkWK1c+xKFsqIgE=; b=Z/uE0PDJmCZ63uujwD8aAQ3G4ewYh3G//07aSIvHLj0XEaVMT2oD1o60VIMchyNTDb RAKFFooq0NpN7dzDfD+B/9R4HLXmNwaLHk0g7jAaYiLiyELcNBKY5e2AvVBQgx9WiYKS h4yiTzXMqXRDVC3CF4HQKsJFroNyKcytHUNHWrBiEkEJL5sdgnoNUECI5MomQ+K5rQst B9Wdrn6jkJhIfBemvs3ylV6ZdfR3i51fSLXVCWIY4KOtTMi9FwGf3SlqIa8gqxzsWDT0 /xc4nVWKMQNKSMk4Zw4tWph6DGSM7M11vC8im6F/xCOguLIMha8QIWDSJuC2T/uoE06f 62iQ== X-Gm-Message-State: AOAM530T2qYDxRuFtlCFw2hUQwQEDi+gnL8iWDeFWE54BiJrj4BOpFBt tdfotsBRT2YdjAfH815gynizDusba5dDeB24bV+FPsjDCaQ= X-Received: by 2002:a2e:8503:: with SMTP id j3mr8627596lji.272.1617378140014; Fri, 02 Apr 2021 08:42:20 -0700 (PDT) MIME-Version: 1.0 References: <20210401075117.998330-1-wanjiabing@vivo.com> In-Reply-To: <20210401075117.998330-1-wanjiabing@vivo.com> From: Steve French Date: Fri, 2 Apr 2021 10:42:09 -0500 Message-ID: Subject: Re: [PATCH] fs: cifs: Remove unnecessary struct declaration To: Wan Jiabing Cc: Steve French , CIFS , samba-technical , LKML , kael_w@yeah.net Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org merged into cifs-2.6.git for-next On Thu, Apr 1, 2021 at 2:52 AM Wan Jiabing wrote: > > struct cifs_readdata is declared twice. One is declared > at 208th line. > And struct cifs_readdata is defined blew. > The declaration here is not needed. Remove the duplicate. > > Signed-off-by: Wan Jiabing > --- > fs/cifs/cifsglob.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h > index 67c056a9a519..ec824ab8c5ca 100644 > --- a/fs/cifs/cifsglob.h > +++ b/fs/cifs/cifsglob.h > @@ -1283,8 +1283,6 @@ struct cifs_aio_ctx { > bool direct_io; > }; > > -struct cifs_readdata; > - > /* asynchronous read support */ > struct cifs_readdata { > struct kref refcount; > -- > 2.25.1 > -- Thanks, Steve