From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754619AbdEIFdf (ORCPT ); Tue, 9 May 2017 01:33:35 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:54342 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752989AbdEIFdc (ORCPT ); Tue, 9 May 2017 01:33:32 -0400 X-IronPort-AV: E=Sophos;i="5.38,312,1491289200"; d="scan'208";a="284581354" X-IronPort-AV: E=McAfee;i="5800,7501,8522"; a="1367505424" X-MGA-submission: =?us-ascii?q?MDGOkQBwWo+Bi5TTLTrRK62fHeFkv3mUznA/GR?= =?us-ascii?q?uZtwLaOsvMli1CYLepPDnxSRrt/lb8w7H4zZNoyYHq2LPfWErzscBFs/?= =?us-ascii?q?2VziGnGAXObfJvtMglbhjK2L028SxNUSg2MBWx1Jm2OYoY/9mqlobpSg?= =?us-ascii?q?ai?= From: Kalle Valo To: "Gustavo A. R. Silva" CC: "netdev@vger.kernel.org" , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "ath10k@lists.infradead.org" Subject: Re: [PATCH] net: wireless: ath: ath10k: remove unnecessary code Thread-Topic: [PATCH] net: wireless: ath: ath10k: remove unnecessary code Thread-Index: AQHSyHvrtVSx41I1+Ue57FCb5aIdKw== Date: Tue, 9 May 2017 05:33:28 +0000 Message-ID: <87lgq6387s.fsf@kamboji.qca.qualcomm.com> References: <20170509042159.GA19727@embeddedgus> In-Reply-To: <20170509042159.GA19727@embeddedgus> (Gustavo A. R. Silva's message of "Mon, 8 May 2017 23:21:59 -0500") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.251.52.12] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v495YVRx009800 "Gustavo A. R. Silva" writes: > The name of an array used by itself will always return the array's address. > So these tests will always evaluate as false and therefore the _return_ > will never be executed. > > Signed-off-by: Gustavo A. R. Silva I don't understand the commit log, especially what does "The name of an array used by itself" mean? -- Kalle Valo