From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753198AbeAaO6Y (ORCPT ); Wed, 31 Jan 2018 09:58:24 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:39194 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbeAaO6V (ORCPT ); Wed, 31 Jan 2018 09:58:21 -0500 Date: Wed, 31 Jan 2018 17:57:47 +0300 From: Dan Carpenter To: Andy Shevchenko Cc: Colin King , Daniel Drake , Ulrich Kunitz , Kalle Valo , "open list:TI WILINK WIRELES..." , netdev , kernel-janitors@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH] wireless: zd1211rw: remove redundant assignment of pointer 'q' Message-ID: <20180131145747.vyi5zscxqt3aa5lz@mwanda> References: <20180130182537.5580-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8790 signatures=668657 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=757 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801310196 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 31, 2018 at 02:58:57PM +0200, Andy Shevchenko wrote: > On Tue, Jan 30, 2018 at 8:25 PM, Colin King wrote: > > From: Colin Ian King > > > > Pointer q is initialized and then almost immediately afterwards being > > re-assigned the same value. Remove the second redundant assignment. > > > > Don't you see strange that in the same context of the patch two users > of q are present? > > How did you test this? > The patch is obviously correct, I don't understand the question. regards, dan carpenter