Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1198844imm; Thu, 4 Oct 2018 09:38:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV60JY7TjSYquszHcV1x7CwxURC7wANAaLJgFaqaShxmVzZiwWe8pDUf51meqj1BayOx9yhj2 X-Received: by 2002:a17:902:9696:: with SMTP id n22-v6mr7528606plp.212.1538671082453; Thu, 04 Oct 2018 09:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538671082; cv=none; d=google.com; s=arc-20160816; b=n5bN4m7s7WHXU6Ar/k+GvuVJuvza7bqEhmSnPpo3dt7bop1AV9CDeQwWRhfPtyJSVB kyCGu5MpGKeTAoSL5jVZPMnpv6ZZFClYBBLLVeOiSCl9kvuwpeEWdFXEqH3Q9cKCnPFv 08OUf4M9xt0H7vNLWWkoiIMarIKAhwuUtwFzZud3wXHLD6jRkeuyqpmSp9IjoZrkwLfK 1jt0nB5w8w9ebatXIHQH8J6PksVu8btdgaNFe+pievej9a3q7NQI2cpt514UUVQSf1N9 U11fd/SUqfK4TtKD1tBTacx10zXPvqGsqzVCAjTtrdCGBS3AEbnApa6U9SthEk+aPsQN ZKew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oYBDn/KT3xdhLUzEiALjmYwJpmU0XeamIlHQgugLRj4=; b=GgCbw26fX7vf9hTJA/y4nQufVv9BnnAX80/X+XmPgdBRBImQk31kwZpZy5QcLroUMD ZUT4d0q6YWE71ppC/UYEZfaJpVMvkiMZTPD8cciQRToDsvdchetN6uglfYGj+wEicL2I qCZCQvlkTDJE5n8TEozh2o9CP366PkTsMkliUCpNM5caBESaXO4j+yzfe636WKdQLC2V Edz+abyh5P6wmpMSaK4GkBrYqcVK7IMgLmfGqJbax9UtW/lTzZr+N/2sz3yCc74c3/l8 7fqQKSdncuqWqTl0BCOdQOepO5fK+1TqebWVfD7ZwzWWIHgRVdzSn/91JhU1rvgiBDQQ mJpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hEZfuzVa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v17-v6si4430885pgh.35.2018.10.04.09.37.46; Thu, 04 Oct 2018 09:38:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hEZfuzVa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727725AbeJDXbg (ORCPT + 99 others); Thu, 4 Oct 2018 19:31:36 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44473 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727444AbeJDXbg (ORCPT ); Thu, 4 Oct 2018 19:31:36 -0400 Received: by mail-pf1-f194.google.com with SMTP id r9-v6so3496314pff.11 for ; Thu, 04 Oct 2018 09:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oYBDn/KT3xdhLUzEiALjmYwJpmU0XeamIlHQgugLRj4=; b=hEZfuzVaOvedfQtr9ExBcl+MwsCGUsReERt5w69LLIwRtV5DHd7YtCS53O7Y6qoUr/ uxILygk9wgsGrTujldRFr0bbyUDT/bw/BvqV7wJOAneJUl/bUVM4M+VbBdFtpifyTeGE 6iqeURaVa25rxL2OsDXP/avgv83s85z2o0zqitUubnHmOw+RDoaoryKxwSIiB/VSEeOB m+NqrAinN/2V0mhVe8DhmX/j005zLuoQRo+F+VYLlU1WD67RWANK/oqlac3HUxJASEuZ 860VCtNkFLUPj9msRb+qA5jCCujn0iBPdpWVQk17BLn8Zvyi/k5EHA0p32brYfHmESKb uaaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oYBDn/KT3xdhLUzEiALjmYwJpmU0XeamIlHQgugLRj4=; b=TROc1dtJuNhGLuyOY18XGfsmdDLrLJHfQ/ncUHNUOR5HFEo/O5DlMdJMyZrELpLc62 7MnXKo9n+crcH8phjF5JcLP1nQVDsJvfFc0ra+VBIFiW6iwaYGNWiZPepdAGxMibFepG Yn1FkuF7OHvgF0avTg/LxHqyDv5CuqVzSrxW/nVNTapBrQ1+vOTYlm3WETlLHILrB5Wq EQQVa2NS4IbVyzvCpkXvdKv5jqmnG0Z7BcruVVJVjMHVDp1KyrCvW8tv7TF5KL1ETnBX ohUkKTp5Ke5MQTgNB2Og1Ux9ycMrAJogG74VrQGBl7PRDmGIR3UiUFvdv391fhJiQoxc ePeQ== X-Gm-Message-State: ABuFfogEAQQPlFfSOWtJZUp3odT6pVbqdhFt1WGYx0/Ovi+FVsLRwM1a wIY/QaNukEMXVtYDEr7t3dM= X-Received: by 2002:a65:4d03:: with SMTP id i3-v6mr6466989pgt.239.1538671052878; Thu, 04 Oct 2018 09:37:32 -0700 (PDT) Received: from nishad ([106.51.27.228]) by smtp.gmail.com with ESMTPSA id j5-v6sm5309201pgm.79.2018.10.04.09.37.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Oct 2018 09:37:32 -0700 (PDT) Date: Thu, 4 Oct 2018 22:07:26 +0530 From: Nishad Kamdar To: Greg Kroah-Hartman , Joe Perches Cc: NeilBrown , devel@driverdev.osuosl.org, Christian =?utf-8?Q?L=C3=BCtke-Stetzkamp?= , linux-kernel@vger.kernel.org, John Crispin , Dan Carpenter Subject: [PATCH v6 3/3] staging: mt7621-mmc: Remove #if 0 blocks in dbg.h Message-ID: <8d069e464e83a0376e0ae412823c8e7fd478967b.1538670306.git.nishadkamdar@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes #if 0 code blocks and usages of functions defined in the #if 0 blocks in dbg.h. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-mmc/dbg.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/mt7621-mmc/dbg.h b/drivers/staging/mt7621-mmc/dbg.h index 4ab9f10dccc2..89acf590ed11 100644 --- a/drivers/staging/mt7621-mmc/dbg.h +++ b/drivers/staging/mt7621-mmc/dbg.h @@ -91,23 +91,8 @@ enum msdc_dbg { extern unsigned int sd_debug_zone[4]; #define TAG "msdc" -#if 0 /* +++ chhung */ -#define BUG_ON(x) \ -do { \ - if (x) { \ - printk("[BUG] %s LINE:%d FILE:%s\n", #x, __LINE__, __FILE__); \ - while (1) \ - ; \ - } \ -} while (0) -#endif /* end of +++ */ - void msdc_debug_proc_init(void); -#if 0 /* --- chhung */ -void msdc_init_gpt(void); -extern void GPT_GetCounter64(UINT32 *cntL32, UINT32 *cntH32); -#endif /* end of --- */ u32 msdc_time_calc(u32 old_L32, u32 old_H32, u32 new_L32, u32 new_H32); void msdc_performance(u32 opcode, u32 sizes, u32 bRx, u32 ticks); -- 2.17.1