From patchwork Tue Apr 28 09:08:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Rothberg X-Patchwork-Id: 6287181 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5D59B9F326 for ; Tue, 28 Apr 2015 09:09:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E96D202EC for ; Tue, 28 Apr 2015 09:09:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AB8FE202E6 for ; Tue, 28 Apr 2015 09:09:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933065AbbD1JI5 (ORCPT ); Tue, 28 Apr 2015 05:08:57 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:33497 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752077AbbD1JI4 (ORCPT ); Tue, 28 Apr 2015 05:08:56 -0400 Received: by wgin8 with SMTP id n8so143616392wgi.0; Tue, 28 Apr 2015 02:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=6dOS1AQtcK8CeqstPhnCUDTX+zGW0C/VgEpU44F0WYw=; b=Y6KEVpxUY986nkE8nDeegKTcf5tu0SV6i0irkEHfOQzheMgfRrTFnRBF3KzvAZLop/ g6PK8plc0/6z/Qx8xBXBCDbYbp/6GWudE8LpOxZdaJ6QLGfjJOX1geFLxasI1cege+Dw hW2UKvKyO22H/BNXCSs/2FsOZYZpKEEyHTt3tUeEvht7h9Sc0gOkrduMm2gG9ORpwwwG BFOI9t0WY2mQovyCkWBiyJ0THPSS6cRzdYOZ1aAyjoGCP+jT/dm0mSKRmU0IR2RVf5LC QBDqSxvENuQb6qknboTbPeH1rp4IJD/NYyMhTHD03y3Ps8NzMo3dra7LA1+JI+ncAZi0 +pCQ== X-Received: by 10.180.84.65 with SMTP id w1mr27639496wiy.20.1430212134482; Tue, 28 Apr 2015 02:08:54 -0700 (PDT) Received: from dou.rsr.lip6.fr (hp-valentin.rsr.lip6.fr. [132.227.64.74]) by mx.google.com with ESMTPSA id bi3sm15393889wib.5.2015.04.28.02.08.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Apr 2015 02:08:53 -0700 (PDT) From: Valentin Rothberg To: lauro.venancio@openbossa.org, aloisio.almeida@openbossa.org, sameo@linux.intel.com, clement.perrochaud@effinnov.com, charles.gorand@effinnov.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Cc: pebolle@tiscali.nl, rupran@einserver.de, stefan.hengelein@fau.de, Valentin Rothberg Subject: [PATCH] drivers/nfc: remove obsolete setting of DEBUG Date: Tue, 28 Apr 2015 11:08:47 +0200 Message-Id: <1430212127-5841-1-git-send-email-valentinrothberg@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The CPP identifier 'DEBUG' is not used in the source code of nfc at all, so we can safely remove setting it in both Makefiles. Signed-off-by: Valentin Rothberg --- I detected this issue with ./scripts/checkkconfigsymbols.py since CONFIG_NFC_DEBUG is not defined in Kconfig. --- drivers/nfc/Makefile | 2 -- drivers/nfc/nxp-nci/Makefile | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/nfc/Makefile b/drivers/nfc/Makefile index a4292d790f9b..13b648baf175 100644 --- a/drivers/nfc/Makefile +++ b/drivers/nfc/Makefile @@ -14,5 +14,3 @@ obj-$(CONFIG_NFC_TRF7970A) += trf7970a.o obj-$(CONFIG_NFC_ST21NFCA) += st21nfca/ obj-$(CONFIG_NFC_ST21NFCB) += st21nfcb/ obj-$(CONFIG_NFC_NXP_NCI) += nxp-nci/ - -ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG diff --git a/drivers/nfc/nxp-nci/Makefile b/drivers/nfc/nxp-nci/Makefile index c008be30bb18..c9ec7869dbd2 100644 --- a/drivers/nfc/nxp-nci/Makefile +++ b/drivers/nfc/nxp-nci/Makefile @@ -7,5 +7,3 @@ nxp-nci_i2c-objs = i2c.o obj-$(CONFIG_NFC_NXP_NCI) += nxp-nci.o obj-$(CONFIG_NFC_NXP_NCI_I2C) += nxp-nci_i2c.o - -ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG