From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933512AbbCRQsh (ORCPT ); Wed, 18 Mar 2015 12:48:37 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:35008 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754563AbbCRQse (ORCPT ); Wed, 18 Mar 2015 12:48:34 -0400 Date: Wed, 18 Mar 2015 22:18:29 +0530 From: Amitoj Kaur Chawla To: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, gregkh@linuxfoundation.org Subject: [PATCH] octeon-usb: fix 'too many leading tabs' Message-ID: <20150318164829.GA7579@amitoj-Inspiron-3542> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This file contained a lot of warnings of line of over 80 characters and that the code needs to be refactored due to nested if else conditions. The file was accordingly edited to remove some of the warnings. Signed-off-by: Amitoj Kaur Chawla --- drivers/staging/octeon-usb/octeon-hcd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index c8df0c3..e944292 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c +++ b/drivers/staging/octeon-usb/octeon-hcd.c @@ -2920,11 +2920,11 @@ static int __cvmx_usb_poll_channel(struct cvmx_usb_state *usb, int channel) */ if (!usbc_hcchar.s.epdir) { if (buffer_space_left < pipe->max_packet) - transaction->actual_bytes += - buffer_space_left; + transaction->actual_bytes += + buffer_space_left; else - transaction->actual_bytes += - pipe->max_packet; + transaction->actual_bytes += + pipe->max_packet; } } else if ((buffer_space_left == 0) || (bytes_in_last_packet < -- 1.9.1