From patchwork Sat Jul 5 13:08:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 4488361 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E0C099F358 for ; Sat, 5 Jul 2014 13:07:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14AB6202BE for ; Sat, 5 Jul 2014 13:07:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A1922026C for ; Sat, 5 Jul 2014 13:07:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752806AbaGENHQ (ORCPT ); Sat, 5 Jul 2014 09:07:16 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:41464 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755616AbaGENHP (ORCPT ); Sat, 5 Jul 2014 09:07:15 -0400 Received: by mail-wi0-f178.google.com with SMTP id n15so4768165wiw.5 for ; Sat, 05 Jul 2014 06:07:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XCZEzyqysa54XRLHouyhD4dioRNPwI6crCKe1fzV9LY=; b=m89QmEWIqJ4cGylqo1ZlOeCvepHUB75ZOS5919EM2iSqSVXwe1Iw6q4iW7ZUdgBGyh oBzfHlpOc4xkcWVy8vbome6iudfVCNJkKSXDpSnfl94s5SLfJ4oXxPvw9/u3tOqvFswC CfJRBcQQsQlLNUd8eEabgPlAhR3SjqiIsZhii2ZzCHqh97dpYxq9VohdavXQbVGLxnAA N/bP7j9ZVerLie82xJwThMmCC3hoVIBG5TSG5Xi2JB16eJ3EQdEXYay3pYQwWkmMRS0i ovqEjtLoV/UVUvJn18/kpBxkYWmqdNnCkTWQx4Vw2E3ceROdZfhaouHMVIpVyQ06omxu P5wA== X-Gm-Message-State: ALoCoQl7MirRckGhPeDfO4sZpMc/DileaFOwXDNYQHuu3ztAr4JNt6TjPp+W3nab08HerOQ5EM7N X-Received: by 10.180.72.38 with SMTP id a6mr64177441wiv.29.1404565634442; Sat, 05 Jul 2014 06:07:14 -0700 (PDT) Received: from localhost.localdomain (h-245-62.a218.priv.bahnhof.se. [85.24.245.62]) by mx.google.com with ESMTPSA id r9sm90927684wia.17.2014.07.05.06.07.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jul 2014 06:07:13 -0700 (PDT) From: Rickard Strandqvist To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: Rickard Strandqvist , Rickard Strandqvist , Jingoo Han , Daniel Vetter , Laurent Pinchart , Rob Clark , David Ung , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: fbdev: core: fbmon.c: Cleaning up useless assignment of function parameter Date: Sat, 5 Jul 2014 15:08:30 +0200 Message-Id: <1404565710-22433-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rickard Strandqvist Removal of assignment of function parameter, that has no effect outside the function This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/video/fbdev/core/fbmon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/core/fbmon.c b/drivers/video/fbdev/core/fbmon.c index 5b0e313..71ec1ab 100644 --- a/drivers/video/fbdev/core/fbmon.c +++ b/drivers/video/fbdev/core/fbmon.c @@ -1481,7 +1481,6 @@ int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) } void fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) { - specs = NULL; } void fb_edid_add_monspecs(unsigned char *edid, struct fb_monspecs *specs) {