From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932279AbbCEKBG (ORCPT ); Thu, 5 Mar 2015 05:01:06 -0500 Received: from mail-pd0-f176.google.com ([209.85.192.176]:36474 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932219AbbCEKBE (ORCPT ); Thu, 5 Mar 2015 05:01:04 -0500 Date: Thu, 5 Mar 2015 15:30:49 +0530 From: Sudip Mukherjee To: Matteo Semenzato Cc: gregkh@linuxfoundation.org, mahati.chamarthy@gmail.com, jjin082693@gmail.com, peter.senna@gmail.com, quozl@laptop.org, standby24x7@gmail.com, emilgoode@gmail.com, mdcasey@chabloom.com, rickard_strandqvist@spectrumdigital.se, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: rtl8192e: remove assignment of function parameter Message-ID: <20150305100049.GA6292@sudip-PC> References: <1425495190-10756-1-git-send-email-mattew8898@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425495190-10756-1-git-send-email-mattew8898@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 04, 2015 at 07:53:10PM +0100, Matteo Semenzato wrote: > From: Matteo Semenzato > > This patch removes the assignment of a function parameter that has no > effect. then by the same logic you can also remove another rxb = NULL in rtllib_rx_InfraAdhoc() function.. regards sudip > > Signed-off-by: Matteo Semenzato > --- > drivers/staging/rtl8192e/rtllib_rx.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c > index 1664040..c35a5da 100644 > --- a/drivers/staging/rtl8192e/rtllib_rx.c > +++ b/drivers/staging/rtl8192e/rtllib_rx.c > @@ -1226,7 +1226,6 @@ static void rtllib_rx_indicate_pkt_legacy(struct rtllib_device *ieee, > } > } > kfree(rxb); > - rxb = NULL; > } > > static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb, > -- > 2.3.1 > > -- > 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/