Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752438AbdFOUxv (ORCPT ); Thu, 15 Jun 2017 16:53:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40350 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbdFOUxu (ORCPT ); Thu, 15 Jun 2017 16:53:50 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B5264B154 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=msalter@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B5264B154 Message-ID: <1497560028.25135.0.camel@redhat.com> Subject: Re: [PATCH 2/2] c6x: remove unused KTHREAD_SIZE definition From: Mark Salter To: =?ISO-8859-1?Q?J=E9r=E9my?= Lefaure , Aurelien Jacquiot Cc: linux-c6x-dev@linux-c6x.org, linux-kernel@vger.kernel.org Date: Thu, 15 Jun 2017 16:53:48 -0400 In-Reply-To: <20170612170937.2969-2-jeremy.lefaure@lse.epita.fr> References: <20170612170937.2969-1-jeremy.lefaure@lse.epita.fr> <20170612170937.2969-2-jeremy.lefaure@lse.epita.fr> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 15 Jun 2017 20:53:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 23 On Mon, 2017-06-12 at 13:09 -0400, Jérémy Lefaure wrote: > KTHREAD_SIZE has never been used since it has been defined for c6x arch. > Let's remove this useless definition. > > Signed-off-by: Jérémy Lefaure > --- >  arch/c6x/kernel/asm-offsets.c | 1 - >  1 file changed, 1 deletion(-) > > diff --git a/arch/c6x/kernel/asm-offsets.c b/arch/c6x/kernel/asm-offsets.c > index 60f1e437745d..f8ededbfb63f 100644 > --- a/arch/c6x/kernel/asm-offsets.c > +++ b/arch/c6x/kernel/asm-offsets.c > @@ -106,7 +106,6 @@ void foo(void) >   /* These would be unneccessary if we ran asm files >    * through the preprocessor. >    */ > - DEFINE(KTHREAD_SIZE, THREAD_SIZE); >   DEFINE(KTHREAD_SHIFT, THREAD_SHIFT); >   DEFINE(KTHREAD_START_SP, THREAD_START_SP); >   DEFINE(ENOSYS_, ENOSYS); Acked-by: Mark Salter