From patchwork Sun Feb 8 22:29:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 5797941 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CFFB0BF440 for ; Sun, 8 Feb 2015 22:30:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D471D2020F for ; Sun, 8 Feb 2015 22:30:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE8182010B for ; Sun, 8 Feb 2015 22:30:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752724AbbBHW3P (ORCPT ); Sun, 8 Feb 2015 17:29:15 -0500 Received: from mail-we0-f178.google.com ([74.125.82.178]:56998 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbbBHW3P (ORCPT ); Sun, 8 Feb 2015 17:29:15 -0500 Received: by mail-we0-f178.google.com with SMTP id w62so6041583wes.9; Sun, 08 Feb 2015 14:29:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=+Xo8f1azDggAToZRBm7W/fYjF1dOs1fZVpSGWvW68EQ=; b=D1oXaNTVsfqPLFBI62CksEWqs3vjGHQ5mFUxqGGX9EMaXJsoahN13PinqZBUzx+vCg pvzrxR/azcyRRuJe+GOcpopm0oJqjaPcvP50M/Nyzs4gTv8vjMyXGzGgmoEzK98YeYgK RkkYMSqgcnU/oAU188VENi3fxGb1lsY1hERB70wlglGhH9qTXQQaJ1A0rKc0WWfMvqP9 KuhtFfIS7lv/1idt0Btp/oOwh78gJnuCvaHLrXC46TVFe3wKIZcZibQxw9qoPHjUnzxO 6HRpdd4kxrAEBNQrlDZRQKr3nF5UbYm49lRkqgZJ8QdzPnULKKzqb3X5gCW0FtCVLf0n Bmaw== X-Received: by 10.180.99.137 with SMTP id eq9mr29474751wib.34.1423434553272; Sun, 08 Feb 2015 14:29:13 -0800 (PST) Received: from localhost (cpc9-slam5-2-0-cust824.2-4.cable.virginm.net. [81.108.163.57]) by mx.google.com with ESMTPSA id pp10sm13679334wjc.31.2015.02.08.14.29.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Feb 2015 14:29:12 -0800 (PST) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Sun, 8 Feb 2015 22:29:11 +0000 To: linux-media@vger.kernel.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, mchehab@osg.samsung.com, gregkh@linuxfoundation.org, hans.verkuil@cisco.com, pavel@ucw.cz, pali.rohar@gmail.com, wsa@the-dreams.de, luke.hart@birchleys.eu, askb23@gmail.com Subject: [PATCH] media: bcm2048: remove unused return of function Message-ID: <20150208222911.GA18445@turing> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable 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 Integer return of bcm2048_parse_rds_rt () is never used, changing the return type to void. Signed-off-by: Luis de Bethencourt Acked-by: Pali Rohár --- drivers/staging/media/bcm2048/radio-bcm2048.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 5382506..7f3d528 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -1579,7 +1579,7 @@ static void bcm2048_parse_rt_match_d(struct bcm2048_device *bdev, int i, bcm2048_parse_rds_rt_block(bdev, i, index+2, crc); } -static int bcm2048_parse_rds_rt(struct bcm2048_device *bdev) +static void bcm2048_parse_rds_rt(struct bcm2048_device *bdev) { int i, index = 0, crc, match_b = 0, match_c = 0, match_d = 0; @@ -1615,8 +1615,6 @@ static int bcm2048_parse_rds_rt(struct bcm2048_device *bdev) match_b = 1; } } - - return 0; } static void bcm2048_parse_rds_ps_block(struct bcm2048_device *bdev, int i,