Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1437213yba; Sun, 5 May 2019 06:23:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8sFdyUJuWCw/viS59m+n3f3yAxwOH/dGjJFvFClG+DBa1RDB7YISA4Vb1PVBTeAD4qV7w X-Received: by 2002:a63:610f:: with SMTP id v15mr25043219pgb.128.1557062639296; Sun, 05 May 2019 06:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557062639; cv=none; d=google.com; s=arc-20160816; b=Tq8V/vVHqzhziOlC6Covwq5uVG0YZOQLrn6bRUUjI/4VZCPwFc36nBqBlPpGV9xJaM lJed2jtBoLYRwLJY+3UpdKFJmHNWcsCtj0ZBpveJ5y8G1Q7aODfuZ9CVdcfepj7oSEDw 8gkSfeSVt1Wt4/i2j+QEjLc1BIUHf+56kGjHRwFQeqMPPl6r5MdoNVEPTUGQ9ji667D2 fP+W7iQ/qX5DwLzp8RUzOAr2a3UdvudZOb5z3J60ndFZaB+F4h5BgsVcrRi6PT9B9Hup CGws7Fq6HnxBzZ/hLl1CKAa4Zm1pM4ydUBP1zSo2907kYpmNb0QdjG716c9PRfRES52H DGrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Z5fRXYMiBfJg+xYTlW25WDAJSg5CjbHE0LcJsh4KODU=; b=MhHVcR6PzcUY4yrdLh23vQWZUw4kNClYQ+X06XN1XXt8NmjN1dq51t7g3/SLlFdSjl 2EVl6X0H0oGKTFVsRLlUKTDIifGDneyv0rh82r7nmWZgj43V06HyNPh6Ikt7buVgDB/3 xCHoaiP+qAq2BFLBZVDwD4itryTuZFz8gk/qomJQXM5jOO3zGL9ZaQNLl/TNkfvm7vKL CaOT5afW3yJzD2lIO7if+BOytjE3e1k3JH7YE1jYrgi2SSMTQrnOJZ4Zj7I6jjfVvnMz dYoUkqlff4svKhV6VmIcEbJv7VEVngqiJxydKuWDHzs+z9HgDPn8laI9X7qL2liAhgSQ ZV0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEYRVAIC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si11019778pgg.83.2019.05.05.06.23.43; Sun, 05 May 2019 06:23:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEYRVAIC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727626AbfEENVM (ORCPT + 99 others); Sun, 5 May 2019 09:21:12 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37258 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbfEENVM (ORCPT ); Sun, 5 May 2019 09:21:12 -0400 Received: by mail-pg1-f196.google.com with SMTP id e6so5091967pgc.4 for ; Sun, 05 May 2019 06:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Z5fRXYMiBfJg+xYTlW25WDAJSg5CjbHE0LcJsh4KODU=; b=lEYRVAICwQDfCGgSKs8ls/XK3kTO205p/cpmzDAepE+udb3TnaYQDONHXOE304Leyw b6jRQ/F+jUoa3WlW8lZaE9ezz2ilGSd4gZ23pxU++0GVRpkc6gv+k5cUGSgFRBjF7Qon PsjETso15VymXpahNHCoVKTEJ0nVfKrJFSVYTz9KxzXx8FmB7g8et5xC7u7K4wYzDTQS aOMSSYggepqqZ+3VPtC6apiqTg2C52X74Wo5NWDLzfgbXIkkkF80+CCrZ+qfOBtPmYRB r2XgUQE8K28RNBPG/TG08DLZWFQ4AxSveoaasRAa0mP8P6mw9bnqt2tBwwjhQ+vc2JSU R9tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Z5fRXYMiBfJg+xYTlW25WDAJSg5CjbHE0LcJsh4KODU=; b=Uq7q4uw1E8h4usip42rCxmH5pl6KbgRtkbncw8G8UJCHSS0vq/G1LWDP0DAS+MrF8G SuujP76QL+chSQ1Amm04vgWxs0Fj8G/iVC4pmOuztUiv2LOjAD6qnTlslp0E9cb/ptQ1 G6Q8qKVKJnmsvihdeBG6bn7Nfwo5+7fNhVvUaYf+7phzbOGJb+w7GyCa/tZeRYoq/Pqt PjfMnCjxO749hkLxnzXsrHN1+iaz8SBdbxle3h7bftQ8EcUS0JqEIqlSKiSisCsF1vXv 2YhPDp60cjri3oga9NehJMT7VaK8rwHjKspSVKv7hz3+YCfB+inDgZg6J0B3Xgti/gr8 BCpw== X-Gm-Message-State: APjAAAWdgavryXb3VmTwrxIDdJy3n8d3vz7GvOwO/dUZu8HEjRMNSdFJ 0VWBOgoKy/qbzRyfJ/u9GB8= X-Received: by 2002:aa7:80d0:: with SMTP id a16mr26460182pfn.206.1557062471332; Sun, 05 May 2019 06:21:11 -0700 (PDT) Received: from localhost.localdomain ([103.87.56.229]) by smtp.gmail.com with ESMTPSA id f63sm14292239pfc.180.2019.05.05.06.21.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 May 2019 06:21:10 -0700 (PDT) From: Vatsala Narang To: gregkh@linuxfoundation.org Cc: hadess@hadess.net, hdegoede@redhat.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, julia.lawall@lip6.fr, Vatsala Narang Subject: [PATCH v2 3/6] staging: rtl8723bs: core: Remove unnecessary parentheses. Date: Sun, 5 May 2019 18:50:53 +0530 Message-Id: <20190505132053.4345-1-vatsalanarang@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unnecessary parentheses after 'address-of' operator to get rid of checkpatch warning. Signed-off-by: Vatsala Narang --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index ac70bbaae722..1cf6229a538b 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -277,7 +277,7 @@ void init_mlme_default_rate_set(struct adapter *padapter) static void init_mlme_ext_priv_value(struct adapter *padapter) { struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; - struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); + struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; atomic_set(&pmlmeext->event_seq, 0); pmlmeext->mgnt_seq = 0;/* reset to zero when disconnect at client mode */ @@ -464,8 +464,8 @@ int init_mlme_ext_priv(struct adapter *padapter) int res = _SUCCESS; struct registry_priv *pregistrypriv = &padapter->registrypriv; struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; - struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); - struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); + struct mlme_priv *pmlmepriv = &padapter->mlmepriv; + struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; pmlmeext->padapter = padapter; @@ -609,8 +609,8 @@ unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame) unsigned char *p; struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; - struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); - struct wlan_bssid_ex *cur = &(pmlmeinfo->network); + struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; + struct wlan_bssid_ex *cur = &pmlmeinfo->network; u8 *pframe = precv_frame->u.hdr.rx_data; uint len = precv_frame->u.hdr.len; u8 is_valid_p2p_probereq = false; -- 2.17.1