From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07B7A2901; Fri, 22 Apr 2022 14:45:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A526C385A9; Fri, 22 Apr 2022 14:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650638758; bh=cDxTioHiBNl0ShGtOtJTiJLp7g6rOsr5782kvRAjCUQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=otANhqrgOZHmla1PLVJTn+/PeBD/i4BRde0GTTPX7VRnhwthPs/KGhRuF8kJSCKYE eAehXxRmztorxGkk/oohqzi/Qlv0yNaXqK6nhnE4nIA/qGxpsl+65hipm9jHw0KdI7 6MQ41ud0P6T2NoQtjVu69UE+FCa5dTyZrooqIids= Date: Fri, 22 Apr 2022 16:45:55 +0200 From: Greg KH To: Jaehee Park Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Pavel Skripkin Subject: Re: [PATCH v4 7/7] staging: r8188eu: remove unused else condition Message-ID: References: Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 21, 2022 at 03:20:32PM -0400, Jaehee Park wrote: > s_ret cannot return '2' so this else condition is unused. Remove this > unnecessary else statement. s_ret is not a function, it is a value. rtw_select_and_join_from_scanned_queue() is the function here. Can you fix up the wording in this changelog text and resubmit? thanks, greg k-h