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: 1472131 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 C0B80DF24C for ; Tue, 18 Sep 2012 11:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932707Ab2IRLld (ORCPT ); Tue, 18 Sep 2012 07:41:33 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:48585 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932696Ab2IRLlc (ORCPT ); Tue, 18 Sep 2012 07:41:32 -0400 Received: by pbbrr13 with SMTP id rr13so10904970pbb.19 for ; Tue, 18 Sep 2012 04:41:32 -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=oVOMta+2lk70wn49P8IIB/080VqcZzMXoBGFI3GYFh4=; b=HDQnF97sE/ZNZZ2hPXnvWG5gkrQphHZKSxNg5hu/Hef9S/n5cWgvBIbQazxtXZi4ER jPRqO4XqVGx/smUIXiwehuxsXguCgFAxx+EfN8xFFnu2vIjnLq6HRDGL6pkkrf9INBZC Ibpi2sWjjEItS6YsRiRAwvMH9vgbNqW9YuLdO3CM/pfD1Prcofn4OFN96+0dZ9E5IFm8 Wj6qslUxhDu9lwBvDbqXnpfYL750thx+9aJZfjHyCGZeNrf4Q7tVmKUUyWD4LaSOLZ8b oBEhMI/5DJ2W6cr9kBKhKLe5JkZWn+I1DS8Ue1VgvEiTt7oNeau2VEFWzAhfuTT7yAzU x6oA== 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: ALoCoQnHdFg+jvXZWhFZWKrA02fSHOOxqdpd//jVOzTn6uiiWxJh715p257MTgwxlcCpksw1r0id 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 --- 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,