From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750913AbdL2V2O (ORCPT ); Fri, 29 Dec 2017 16:28:14 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:45145 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbdL2V2M (ORCPT ); Fri, 29 Dec 2017 16:28:12 -0500 X-Google-Smtp-Source: ACJfBoupeL+qQNloEDaP+G6J8B1KNq4PXyfBgIy14GgEs6xB88kgt5uSFHssirl1UT4HkjSHCLAkQQ== From: =?UTF-8?q?Hugh=20Sipi=C3=A8re?= To: linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, =?UTF-8?q?Hugh=20Sipi=C3=A8re?= Subject: [PATCH] uwb: remove trailing whitespace for coding style Date: Fri, 29 Dec 2017 21:28:03 +0000 Message-Id: <20171229212803.3812-1-hgsipiere@gmail.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There were tabs there before that aren't in this patch. After the semicolon there was a space that I removed. This is to suit the coding style. Signed-off-by: Hugh Sipière --- drivers/uwb/drp-ie.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/uwb/drp-ie.c b/drivers/uwb/drp-ie.c index b7d4f6b75eef..c11e6acd8aba 100644 --- a/drivers/uwb/drp-ie.c +++ b/drivers/uwb/drp-ie.c @@ -199,7 +199,7 @@ int uwb_drp_ie_update(struct uwb_rsv *rsv) rsv->drp_ie = NULL; return 0; } - + unsafe = rsv->mas.unsafe ? 1 : 0; if (rsv->drp_ie == NULL) { @@ -232,23 +232,23 @@ int uwb_drp_ie_update(struct uwb_rsv *rsv) uwb_drp_ie_from_bm(drp_ie, &rsv->mas); if (uwb_rsv_has_two_drp_ies(rsv)) { - mv = &rsv->mv; + mv = &rsv->mv; if (mv->companion_drp_ie == NULL) { mv->companion_drp_ie = uwb_drp_ie_alloc(); if (mv->companion_drp_ie == NULL) return -ENOMEM; } drp_ie = mv->companion_drp_ie; - + /* keep all the same configuration of the main drp_ie */ memcpy(drp_ie, rsv->drp_ie, sizeof(struct uwb_ie_drp)); - + /* FIXME: handle properly the unsafe bit */ uwb_ie_drp_set_unsafe(drp_ie, 1); uwb_ie_drp_set_status(drp_ie, uwb_rsv_companion_status(rsv)); uwb_ie_drp_set_reason_code(drp_ie, uwb_rsv_companion_reason_code(rsv)); - + uwb_drp_ie_from_bm(drp_ie, &mv->companion_mas); } -- 2.15.1