From patchwork Tue Mar 14 05:25:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinay Simha B N X-Patchwork-Id: 9624657 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8F2D7604CC for ; Wed, 15 Mar 2017 00:51:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EE8628582 for ; Wed, 15 Mar 2017 00:51:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73913285E6; Wed, 15 Mar 2017 00:51:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 356DC28582 for ; Wed, 15 Mar 2017 00:51:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2503A89E1B; Wed, 15 Mar 2017 00:51:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id C7B4E6E670; Tue, 14 Mar 2017 05:27:04 +0000 (UTC) Received: by mail-pg0-x242.google.com with SMTP id b5so21985309pgg.1; Mon, 13 Mar 2017 22:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=E5WtvWjzKQ/+Vcatc2H+VbXX+kwsroKxjne1shWcKCc=; b=SYbpBwI2ITPQOUCHZ6iGuxEaWCjFhQB9gBzBOMbh6I/GudYOSffvw+Trs2szI1uJfJ OayHn8ElETy4E5t1/zXDOGUC9ZRbWvT1K0cAghqaSJideuvnLTPUbrwIklXyPqASHSQM 5XtdTd/xvKNDEuz+5koAHGzPcMqEMp6RYvAYkw5gi1RgPNFGXhRU8SO7BjvMd+/zquAo lG070PD3/Dk5rhlGa6BT0mnZCc1kt6DU/cSq1L7c3B9lbn1XNgb5kn+FWhso9APvh89f WGcgEcG0SNU7YGHo8PSt3rV/XTooHCM7D1ZuEtpx36gnP1rIqvrwA4r1uTFf1CBeUB7r SUVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=E5WtvWjzKQ/+Vcatc2H+VbXX+kwsroKxjne1shWcKCc=; b=QgqXsbEupslMubgbD8hjG1CRnkheOrYETnQvYZxsLSUMzmSbeRsTJvwwdUu5sTcFcu r+zlp+TYuROTWZ7+xA8Acm3bLRyWdbCkWnW1Qs++ucntRs3I7wLGpFKHbgyQYPSdM7HL SUarcTVI7eVCm5OJLw4WhA/UB3NlGeeaCuc96kdFiTR1ffl5WEfzeH1sGUbJvjE5i4Gq KhJ26OHpH0bmBHI/wHqlmqPQw1WC9XG4YtWpWvWEQ1HlytGSvm53z0s3gW647c0t6bbQ 79XeyYpkw/ziSEix7ZpdcKzegxY8NP+kBM5t3KSM+ScSUb0ccI70Qgp2LnlUkkgtB1tG MQcQ== X-Gm-Message-State: AMke39k9/D2PH/MF4OmxQBaCDu4Ktg0ujNhyfl6Ju6y1E27vFJdaYXPBvM1gkgm+gpMI9w== X-Received: by 10.98.34.211 with SMTP id p80mr41407630pfj.174.1489469224381; Mon, 13 Mar 2017 22:27:04 -0700 (PDT) Received: from localhost.localdomain ([202.83.17.75]) by smtp.gmail.com with ESMTPSA id c64sm35640909pfa.45.2017.03.13.22.27.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Mar 2017 22:27:03 -0700 (PDT) From: Vinay Simha BN To: Subject: [PATCH] drm/msm/hdmi: redefinitions of macros not required Date: Tue, 14 Mar 2017 10:55:56 +0530 Message-Id: <1489469158-29185-1-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Wed, 15 Mar 2017 00:51:42 +0000 Cc: "open list:DRM DRIVER FOR MSM ADRENO GPU" , open list , "open list:DRM DRIVER FOR MSM ADRENO GPU" , Vinay Simha BN , "open list:DRM DRIVER FOR MSM ADRENO GPU" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 4 macros already defined in hdmi.h, which is not required to redefine in hdmi_audio.c Signed-off-by: Vinay Simha BN --- drivers/gpu/drm/msm/hdmi/hdmi_audio.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_audio.c b/drivers/gpu/drm/msm/hdmi/hdmi_audio.c index a54d3bb..8177e85 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_audio.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_audio.c @@ -18,13 +18,6 @@ #include #include "hdmi.h" - -/* Supported HDMI Audio channels */ -#define MSM_HDMI_AUDIO_CHANNEL_2 0 -#define MSM_HDMI_AUDIO_CHANNEL_4 1 -#define MSM_HDMI_AUDIO_CHANNEL_6 2 -#define MSM_HDMI_AUDIO_CHANNEL_8 3 - /* maps MSM_HDMI_AUDIO_CHANNEL_n consts used by audio driver to # of channels: */ static int nchannels[] = { 2, 4, 6, 8 };