Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751923AbaAXIFJ (ORCPT ); Fri, 24 Jan 2014 03:05:09 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:37654 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbaAXIFH (ORCPT ); Fri, 24 Jan 2014 03:05:07 -0500 Date: Fri, 24 Jan 2014 11:04:51 +0300 From: Dan Carpenter To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Greg Kroah-Hartman , josh@joshtriplett.org, =?utf-8?B?VMO8bGluIMSwemVy?= , Michael Banken , Al Viro Subject: Re: [PATCH] drivers: staging: Mark functions as static and remove unused function in bpctl_mod.c Message-ID: <20140124080451.GD7444@mwanda> References: <20140123224400.GA8124@rashika> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140123224400.GA8124@rashika> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 24, 2014 at 04:14:00AM +0530, Rashika Kheria wrote: > Mark functions as static in bpctl_mod.c because they are not used > outside this file. Remove unused function from bpctl_mod.c. > > This also eliminates the following warnings from bpctl_mod.c: > drivers/staging/silicom/bpctl_mod.c:1507:6: warning: no previous prototype for ‘send_bypass_clear_pulse’ [-Wmissing-prototypes] > drivers/staging/silicom/bpctl_mod.c:1762:5: warning: no previous prototype for ‘cmnd_on’ [-Wmissing-prototypes] Don't do these massive text blocks. Just put one or two of the errors so we get the idea. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/