From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757272AbcBBU7H (ORCPT ); Tue, 2 Feb 2016 15:59:07 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44998 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756820AbcBBU7G (ORCPT ); Tue, 2 Feb 2016 15:59:06 -0500 X-Sasl-enc: RkOB+1vjQMEZbVLcOyQafCdZrQmVat3Yj+WlLsU8M5rL 1454446745 From: Colin Vidal To: Greg Kroah-Hartman , Colin Vidal , devel@driverdev.osuosl.org (open list:STAGING SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] Staging: fix coding style in rtl8188eu/core Date: Tue, 2 Feb 2016 21:57:58 +0100 Message-Id: <1454446679-17327-1-git-send-email-colin@cvidal.org> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Set constant on the left of the test, and jump a new line to avoid to exceed the 80 char length limit. Signed-off-by: Colin Vidal --- drivers/staging/rtl8188eu/core/rtw_iol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_iol.c b/drivers/staging/rtl8188eu/core/rtw_iol.c index cdcf0ea..8d6b368 100644 --- a/drivers/staging/rtl8188eu/core/rtw_iol.c +++ b/drivers/staging/rtl8188eu/core/rtw_iol.c @@ -22,10 +22,11 @@ bool rtw_IOL_applied(struct adapter *adapter) { - if (1 == adapter->registrypriv.fw_iol) + if (adapter->registrypriv.fw_iol == 1) return true; - if ((2 == adapter->registrypriv.fw_iol) && (!adapter_to_dvobj(adapter)->ishighspeed)) + if ((adapter->registrypriv.fw_iol == 2) + && (!adapter_to_dvobj(adapter)->ishighspeed)) return true; return false; } -- 2.5.0