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: 11618 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 2358824110 for ; Fri, 21 Sep 2012 05:10:19 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id AFF2FA188E5 for ; Fri, 21 Sep 2012 05:10:18 +0000 (UTC) Received: by ieje10 with SMTP id e10so4118427iej.11 for ; Thu, 20 Sep 2012 22:10:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=ZEhLLO5kudgiI6HQN2gn+dpdqypdzASKkFOxIJvnV9s=; b=VHYiKEaWCqgL6KGreUMmhGAoiKszou2guS2dS0gu3DF0+cQirYgdHD4bE47jbBVOM5 H9o80lIFu8mA6fnSvkaTsVRZgGyWIMMDXU5UDz2TBLbUPs/vIQr0V+o65u0bBUaupPq9 tlnzlyGD7BfJ7D6iKyceEOiLhYw+WNyJiapd3hgu2Djsjg2Bhbyr2LpZH+ZZC0K3JXNf NZcuq4GxYA5zfmeV/1w5yj5qR6BSHCiMJUyJSDB67+aTNDRqyxUrO8dBd2oCGhv2v1qN k2I8CrnMbqhwJ2RfjOg0TO3gW7j5BlD/+UaVzL0axmGcXvQK+XqrODoj/P2DnQNAlSgV ouaQ== Received: by 10.50.184.129 with SMTP id eu1mr708219igc.0.1348204217957; Thu, 20 Sep 2012 22:10:17 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp112431igc; Thu, 20 Sep 2012 22:10:17 -0700 (PDT) Received: by 10.68.130.65 with SMTP id oc1mr12467777pbb.29.1348204216825; Thu, 20 Sep 2012 22:10:16 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id iv6si10373471pbc.118.2012.09.20.22.10.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 22:10:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcmd12 with SMTP id md12so7185034pbc.37 for ; Thu, 20 Sep 2012 22:10:16 -0700 (PDT) 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: ALoCoQlQVJjAzqha1NnHaYyInCX/apybJg7tIAzqzu5O3mc6SMM+VeWKlphfiGUrFHz3a+bwDse/ 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,