From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751558AbbEGQdR (ORCPT ); Thu, 7 May 2015 12:33:17 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:52539 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbbEGQdP (ORCPT ); Thu, 7 May 2015 12:33:15 -0400 Date: Thu, 7 May 2015 17:33:10 +0100 From: Al Viro To: Nicholas Krause Cc: akpm@linux-foundation.org, tglx@linutronix.de, ionut.m.alexa@gmail.com, paulmcquad@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel:Remove unnessary line in the function,acct_pin_kill Message-ID: <20150507163310.GC889@ZenIV.linux.org.uk> References: <1431012663-9742-1-git-send-email-xerofoify@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431012663-9742-1-git-send-email-xerofoify@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2015 at 11:31:03AM -0400, Nicholas Krause wrote: > This removes the unneeded call to the function,cmpxchg due to > getting the build warning, warning: value computed is not used > for this line of code. In addition this was found when building > the cerfcube_defconfig for arm based solutions. ??!!?!??? Return value not being used != function call has no effect. If you really do not understand that, take a remedial course on _any_ procedural language (ideally - C, since you are modifying code written in it) and try to abstain from posting patches until you manage to get a passing grade. Ah, it's Nick... Nevermind, then.