From patchwork Fri Dec 28 10:18:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13731 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 74C0823E1F for ; Fri, 28 Dec 2012 10:26:25 +0000 (UTC) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by fiordland.canonical.com (Postfix) with ESMTP id 33A91A193A4 for ; Fri, 28 Dec 2012 10:26:25 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id p1so10469955vcq.24 for ; Fri, 28 Dec 2012 02:26:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=u+NP5DXrAK5z0j4LohlDY+1+GJXuorYDsnY89QweGsM=; b=oE5iHo/LZTuV8hRn8azn9R26pbSYLvHUhpbk725tq+gKO58eAnNa5RER9SuNYO+emN NgD0I7zJuMBEPgR6QOJf8zm2BBSw1wvkYx+kNKXR0HjQfP/YkbnrtBx31QqhpnW3+zXv X7gc+HXkEwQ/8YzY5q0b3yARDLDiPpOZCCCgwIs3F8N9j5JCwspwHYTsKKkzMO3KYiQ5 psInC29RNtM8NEa1oduJQ635daIHC5MT1W9EeTmxKUba9wf7wiQkgqhpFnQhd+LXMs9T 827k3plhH+fLUjOsJDFAtpgVmKo6By1fdq6Km2ERokTGM6pBPr2WrO3JqGVpak0iuh2/ GkyA== X-Received: by 10.52.18.147 with SMTP id w19mr44408001vdd.94.1356690384664; Fri, 28 Dec 2012 02:26:24 -0800 (PST) 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.58.214.195 with SMTP id oc3csp53569vec; Fri, 28 Dec 2012 02:26:24 -0800 (PST) X-Received: by 10.68.229.194 with SMTP id ss2mr104125732pbc.17.1356690383718; Fri, 28 Dec 2012 02:26:23 -0800 (PST) Received: from mail-da0-f47.google.com (mail-da0-f47.google.com [209.85.210.47]) by mx.google.com with ESMTPS id wk7si31684629pbc.139.2012.12.28.02.26.23 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:26:23 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.47; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f47.google.com with SMTP id s35so4731447dak.6 for ; Fri, 28 Dec 2012 02:26:23 -0800 (PST) X-Received: by 10.66.80.70 with SMTP id p6mr97819472pax.23.1356690383349; Fri, 28 Dec 2012 02:26:23 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id is3sm19485354pbc.6.2012.12.28.02.26.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:26:22 -0800 (PST) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: k.debski@samsung.com, s.nawrocki@samsung.com, sylvester.nawrocki@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] [media] s5p-mfc: Remove redundant 'break' Date: Fri, 28 Dec 2012 15:48:27 +0530 Message-Id: <1356689908-6866-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1356689908-6866-1-git-send-email-sachin.kamat@linaro.org> References: <1356689908-6866-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmHH6GhI1/bIBlR4b5lfyX4GTqcSdPG30fldl7XzSUivfnAHGvmHX9SNlNeIIAJLESaLN1e The code returns before this statement. Hence not required. Silences the following smatch message: drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:525 s5p_mfc_set_dec_frame_buffer_v5() info: ignoring unreachable code. Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c index bb99d3d..b0f277e 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c @@ -522,7 +522,6 @@ int s5p_mfc_set_dec_frame_buffer_v5(struct s5p_mfc_ctx *ctx) mfc_err("Unknown codec for decoding (%x)\n", ctx->codec_mode); return -EINVAL; - break; } frame_size = ctx->luma_size; frame_size_ch = ctx->chroma_size;