From patchwork Tue Sep 18 11:37:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11498 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 76F6B23E01 for ; Tue, 18 Sep 2012 11:41:35 +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 6ABA03D096EB for ; Tue, 18 Sep 2012 11:41:34 +0000 (UTC) Received: by ieak11 with SMTP id k11so10715711iea.11 for ; Tue, 18 Sep 2012 04:41:33 -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=oVOMta+2lk70wn49P8IIB/080VqcZzMXoBGFI3GYFh4=; b=QjjgzqxmUJoJru7LC8GWralTgM8IQ1Wq6TQ7cUE+bQWlMnhKM1VLVR3B8PavCKpE9v CSdi/K2NyDcTye308ElqMlztSpWBcButO5oqTlaF028bXmrt2fXBG0L7OsNFBcPgLBjc lfwNRVBlzHzdqig7weTAfDVb1k7X0CuuVIAqfOMpgp/RtG9OiHfmLpyQnDhhrrBUowKS rxKDAq8KFfjt47AFWlmAia3hDcZdtSv96JTJcJYjyJln8GPeieionf9plUjDj4Ii0Sfo PhFm2bhMs9tmpSQdJBuAUfd85HMQlKriJDSGp82nqjEtM9pQkka5d+jIMrAC1tQCHbf0 VXTw== Received: by 10.50.195.134 with SMTP id ie6mr10310117igc.28.1347968493651; Tue, 18 Sep 2012 04:41:33 -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 ex8csp368916igc; Tue, 18 Sep 2012 04:41:33 -0700 (PDT) Received: by 10.66.72.132 with SMTP id d4mr25697482pav.61.1347968492732; Tue, 18 Sep 2012 04:41:32 -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 px5si19882277pbb.262.2012.09.18.04.41.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Sep 2012 04:41:32 -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 md12so12486310pbc.37 for ; Tue, 18 Sep 2012 04:41:32 -0700 (PDT) Received: by 10.68.116.232 with SMTP id jz8mr820451pbb.77.1347968492185; Tue, 18 Sep 2012 04:41:32 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pk9sm8534887pbb.4.2012.09.18.04.41.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Sep 2012 04:41:31 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: inki.dae@samsung.com, dh09.lee@samsung.com, FlorianSchandinat@gmx.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/2] video: exynos_mipi_dsi: Remove unused code Date: Tue, 18 Sep 2012 17:07:59 +0530 Message-Id: <1347968280-22343-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmnegtfyP6anY+qwgtuRuKCZi2bC19zvbfpWpC9XIGuLOWQ/C/Grd9hO0mQJ50y6rAVlBqR This code is never executed and hence removed. Signed-off-by: Sachin Kamat 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,