From patchwork Fri Sep 21 05:06:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1489291 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 9C22CDF28C for ; Fri, 21 Sep 2012 05:10:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752189Ab2IUFKR (ORCPT ); Fri, 21 Sep 2012 01:10:17 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:44185 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595Ab2IUFKQ (ORCPT ); Fri, 21 Sep 2012 01:10:16 -0400 Received: by pbbrr4 with SMTP id rr4so1789919pbb.19 for ; Thu, 20 Sep 2012 22:10:16 -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=ZEhLLO5kudgiI6HQN2gn+dpdqypdzASKkFOxIJvnV9s=; b=UY/CO9yVqach6mUlROwTPCDpXSwc1xMVDuZMNXTl89F/5AztzZI2lnCgsu/TyYFxf0 1qcFuj1YjceWC98xsf29Fwiwj+19hLMNULC1/kJzEdo48Rkpcr4dB2SVRWrgutTMUK0A CiiGlPXWvmP3gjwFpGPtaD4DydOu6jPnqY2ugmEv0VUPn8z46srcmagkpx/GX8Z0ISCF lc50Sog9qNUVbTySWrt9KYmmzGUWvX70hqx8+xqNlLc0+jBh8/5cr6h8M90CJpNJeW1T mKsHxAFgQPSN3LXptvthQjGOEUQFiLWuTHR8CB3CPOEdYh9RxYHyIfTLAIBItOtTf+Yq i+Ug== Received: by 10.66.87.66 with SMTP id v2mr10355664paz.71.1348204216373; Thu, 20 Sep 2012 22:10:16 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id wn4sm4563104pbc.55.2012.09.20.22.10.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 22:10:15 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: inki.dae@samsung.com, FlorianSchandinat@gmx.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH v2 1/2] video: exynos_mipi_dsi: Remove unused code Date: Fri, 21 Sep 2012 10:36:46 +0530 Message-Id: <1348204007-1347-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQn15Au2KuCcg8bWoNhwDhxD+K9avfIDWkTWBplxE4GIwzLbRZIDA/46ot467Nqnr97JeuIC Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This code is never executed and hence removed. Signed-off-by: Sachin Kamat Acked-by: Inki Dae Acked-by: Inki Dae --- drivers/video/exynos/exynos_mipi_dsi_common.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 47b533a..7cc4113 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -288,9 +288,6 @@ int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id, mutex_unlock(&dsim->lock); return -EINVAL; } - - mutex_unlock(&dsim->lock); - return 0; } static unsigned int exynos_mipi_dsi_long_data_rd(struct mipi_dsim_device *dsim,