From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752070Ab1LUGcl (ORCPT ); Wed, 21 Dec 2011 01:32:41 -0500 Received: from perches-mx.perches.com ([206.117.179.246]:59204 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750733Ab1LUGci (ORCPT ); Wed, 21 Dec 2011 01:32:38 -0500 Message-ID: <1324449156.21735.7.camel@joe2Laptop> Subject: Re: [PATCH] vmalloc: remove #ifdef in function body From: Joe Perches To: Michal Nazarewicz Cc: Minchan Kim , Andrew Morton , linux-mm , LKML Date: Tue, 20 Dec 2011 22:32:36 -0800 In-Reply-To: References: <1324444679-9247-1-git-send-email-minchan@kernel.org> <1324445481.20505.7.camel@joe2Laptop> <20111221054531.GB28505@barrios-laptop.redhat.com> <1324447099.21340.6.camel@joe2Laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.1- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2011-12-21 at 07:21 +0100, Michal Nazarewicz wrote: > it seems the community prefers > having ifdefs outside of the function. Some do, some don't. http://comments.gmane.org/gmane.linux.network/214543 If it's not in coding style, I suggest it should be changed if it doesn't add some other useful value.