Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [PATCH v2 1/3] Bluetooth: Simplify logic when checking SMP_FLAG_TK_VALID From: Marcel Holtmann In-Reply-To: <1395231293-26581-1-git-send-email-johan.hedberg@gmail.com> Date: Wed, 19 Mar 2014 13:59:32 -0700 Cc: linux-bluetooth@vger.kernel.org Message-Id: References: <1395231293-26581-1-git-send-email-johan.hedberg@gmail.com> To: Johan Hedberg Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Johan, > This is a trivial coding style simplification by instead of having an > extra early return to instead revert the if condition and do the single > needed queue_work() call there. > > Signed-off-by: Johan Hedberg > --- > net/bluetooth/smp.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel