Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754002AbdIFVm3 (ORCPT ); Wed, 6 Sep 2017 17:42:29 -0400 Received: from mail-qt0-f169.google.com ([209.85.216.169]:34167 "EHLO mail-qt0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbdIFVm0 (ORCPT ); Wed, 6 Sep 2017 17:42:26 -0400 X-Google-Smtp-Source: ADKCNb4AT5OmXIs6LQ7dWMgI9vzL8aNAMk399sEMXdF5vVY0wL84PxSfNxjB5usWWaiIdVkdGAaQEHo5uCB7r3Bm9cU= MIME-Version: 1.0 In-Reply-To: <20170906213243.gyttos3s64ckoswp@mwanda> References: <1504732426-9765-1-git-send-email-srishtishar@gmail.com> <20170906213243.gyttos3s64ckoswp@mwanda> From: Srishti Sharma Date: Thu, 7 Sep 2017 03:12:25 +0530 Message-ID: Subject: Re: [PATCH v3] Staging: ccree: ssi_cipher.c: Remove unused variable. To: Dan Carpenter Cc: Greg KH , devel@driverdev.osuosl.org, outreachy-kernel@googlegroups.com, driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v86LgX1x031785 Content-Length: 1039 Lines: 26 On Thu, Sep 7, 2017 at 3:02 AM, Dan Carpenter wrote: > Always compile your patches. > > CC [M] drivers/staging/ccree/ssi_cipher.o > drivers/staging/ccree/ssi_cipher.c: In function ‘ssi_blkcipher_complete’: > drivers/staging/ccree/ssi_cipher.c:700:6: warning: unused variable ‘inflight_counter’ [-Wunused-variable] > u32 inflight_counter; > ^~~~~~~~~~~~~~~~ > > You need to delete the declaration as well. > > Don't be in a rush to resend patches. I normally write them then let > them sit in my outbox overnight and send them in the morning. The extra > delay helps me to calm down a bit and focus better. Even though I've > sent thousands of patches, it sometimes still stresses me out. It's > like you're disagreeing with the original author and the reviewers are > disagreeing with you and everyone's trying to be nice about it but > patches are fundamentally points of disagreement and that's stress. > > regards, > dan carpenter > Thanks , I'll be more careful ! Regards, Srishti