From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751686AbdJ0Nux (ORCPT ); Fri, 27 Oct 2017 09:50:53 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:47609 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751593AbdJ0Nuv (ORCPT ); Fri, 27 Oct 2017 09:50:51 -0400 X-IronPort-AV: E=McAfee;i="5900,7806,8696"; a="1025417556" X-MGA-submission: =?us-ascii?q?MDGfIdTOj4ehOZCSVxLGL+I2DyvUUYq8z3V5/w?= =?us-ascii?q?vr32lmzY1aiOz24N68OkVmQGCclIhMeiFhF7Uj/dIhNeMpLTTv5+J+IQ?= =?us-ascii?q?Qg8lwTUKofs3CYqoOcoozgFul6XNgZrT23tmuxdTqDMEiWSAzR4ZpUav?= =?us-ascii?q?tC?= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: ath9k: debug: Remove redundant check From: Kalle Valo In-Reply-To: <1507974371-7419-1-git-send-email-chris.gekas@gmail.com> References: <1507974371-7419-1-git-send-email-chris.gekas@gmail.com> To: Christos Gkekas CC: QCA ath9k Development , Kalle Valo , , , , Christos Gkekas User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: <950220104459484c9610cd0fc7ac3ca6@euamsexm01a.eu.qualcomm.com> Date: Fri, 27 Oct 2017 15:50:43 +0200 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01G.na.qualcomm.com (10.85.0.33) To euamsexm01a.eu.qualcomm.com (10.251.127.40) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christos Gkekas wrote: > Variable val is unsigned, so checking whether it is less than zero is > redundant. > > Signed-off-by: Christos Gkekas > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 9d414949a306 ath9k: debug: Remove redundant check -- https://patchwork.kernel.org/patch/10006341/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches