Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754888AbdIFPlV (ORCPT ); Wed, 6 Sep 2017 11:41:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40462 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753390AbdIFPlU (ORCPT ); Wed, 6 Sep 2017 11:41:20 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EA7C5267C8 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=fail smtp.mailfrom=msalter@redhat.com Message-ID: <1504712478.3020.20.camel@redhat.com> Subject: Re: [RESEND PATCH] 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: Wed, 06 Sep 2017 11:41:18 -0400 In-Reply-To: <20170904191416.20828-1-jeremy.lefaure@lse.epita.fr> References: <20170904191416.20828-1-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]); Wed, 06 Sep 2017 15:41:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 29 On Mon, 2017-09-04 at 15:14 -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 > Acked-by: Mark Salter > --- > Hi, > I sent this patch in June. It was acked by Mark Salter but I don't see > it in the last kernel release so I resend it today. Thanks. I pulled it into c6x tree. > > 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);