From patchwork Tue Jun 11 06:56:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2703151 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 2557C3FD4E for ; Tue, 11 Jun 2013 12:51:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1587CE63AB for ; Tue, 11 Jun 2013 05:51:53 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 515CCE5F9A for ; Tue, 11 Jun 2013 00:11:20 -0700 (PDT) Received: by mail-pd0-f171.google.com with SMTP id y14so5405144pdi.2 for ; Tue, 11 Jun 2013 00:11:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=hN6DzOfF3EL/JHudPmtzkJv0dAz39nVLmaZlerhPuTQ=; b=DDSEv3IrNwFayZvQ5iBB1dgEC5glp9W4IGxlEWFbOea3o/hR3yHauc5U5vqWIL78Jr Qyh9PD4THH4GpzOuoaoB2h8JRjocDnnzEVoPiaTLRrwLvdSGoONiXf8+r/lX6qyoAFjd M58Ju5xqtDcPE49Vfgw7Q5OiQ2JvmXTDcrSOSVwrov9l9OiwcI6QQVaR/zxOw1qNbX60 Z+xsI6J45fc/ryNO1L6gtwal4pZtN+2ZVHuAvBZiML1eC/zdcK69KoQkeMJ4xlHYtsCV RS+2kBiaxVTPdbT3yNDfKJWuqX5IFsDeCsVStsUoyBA4gJvUENhDLJc6d9PxeGBOGGy+ wQLw== X-Received: by 10.68.183.194 with SMTP id eo2mr13293505pbc.43.1370934679989; Tue, 11 Jun 2013 00:11:19 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pb5sm13488021pbc.29.2013.06.11.00.11.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 00:11:19 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/1] dRM/exynos: exynos_drm_ipp: Remove redundant break statement Date: Tue, 11 Jun 2013 12:26:51 +0530 Message-Id: <1370933811-13709-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlmYPIWQ4H+buZ69cHbsC6DNonuTeswTaqx3/evi7eft1t18bNJSMZfdV67cPJBG4p7D27M X-Mailman-Approved-At: Tue, 11 Jun 2013 05:45:11 -0700 Cc: sachin.kamat@linaro.org, sw0312.kim@samsung.com, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org 'break' after goto statement is redundant. Silences the following message: drivers/gpu/drm/exynos/exynos_drm_ipp.c:1067 exynos_drm_ipp_check_valid() info: ignoring unreachable code. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index 01cb9a0..b1ef8e7 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c +++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c @@ -1064,7 +1064,6 @@ static bool exynos_drm_ipp_check_valid(struct device *dev, default: DRM_ERROR("invalid state.\n"); goto err_status; - break; } return true;