Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp889774pxb; Fri, 22 Apr 2022 13:32:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLjGRVl0L/l/YRTO59+MniCUcTskDUyz1ZFF4mePtuE9g5WlatdOgNUoxHlMJJTVHnqzXN X-Received: by 2002:a05:6870:b606:b0:e6:590:8121 with SMTP id cm6-20020a056870b60600b000e605908121mr2925673oab.296.1650659537285; Fri, 22 Apr 2022 13:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650659537; cv=none; d=google.com; s=arc-20160816; b=VoEmkVY15imI9gcUsvllDQtbhpUF57ebPqwPvntIvSWaApAbKZ3novLziOgjLJiXJ6 5YW3W8H28XJb5U9bhkRuza0t86EDKDW9Jh4PhkS/sY6uSxvzTuN1BaByM97vxLZhKhh2 chIYPfdIPr8/ZsjoClXmOcOkgZU94fiD+fz2YWe+9UPgQnBEeCbmesiQluEp4x8++b1Z q/jzfHzOSaDxyMDFKwZLBYCXlfmLJotch8S4Bp3dHfcwNjXGNUUNC+3s6PvOk5ALvjbN Lq/6szOqZCfoqqr9tnKUmIND3hUeBLO73lSpIN44Cr02fzxn4nGvWy9/ELfQTMTt9miz zOLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B8hL0jBT5xZ4aSX/GQ3ksV9bgLPofPyPWC/LZsNauFo=; b=cp5Ep7m7aQeeoBCON5sazVheStFJmeG0tgheX4nQzrM+rV9+9e0JKzX03fRlN8aq9k 4wOKQIejsbBPMETAcO3AGbNcTtpgMzkHgJTkxi2AuRZGfp0HWBDwP6rsNsSdKI0ayCk+ /SSMk0saeOC8WWLBb/AdZdbplPUo0BIFUfju1OOxwygE12bt2NPAZQfaMw9h8XEA0iiQ F1XUecNVM48raCISx/wfWUXh1YDiMKixbC2/SqBGGNx0bi2nqnCvyEzd9FvQUNjQxANA JSUmsSdhlppvBs+2pxa1AAj+s14gXwpQwwqmYkllb5tb4RKAr7CYZSgpiXi2aZrzHAVf ec9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XG8SJK33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n10-20020a9d6f0a000000b00605491a5cb6si4965242otq.63.2022.04.22.13.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XG8SJK33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAB40265455; Fri, 22 Apr 2022 12:18:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391909AbiDUTXp (ORCPT + 99 others); Thu, 21 Apr 2022 15:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391869AbiDUTXd (ORCPT ); Thu, 21 Apr 2022 15:23:33 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76AD4D249 for ; Thu, 21 Apr 2022 12:20:40 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id b68so4319763qkc.4 for ; Thu, 21 Apr 2022 12:20:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B8hL0jBT5xZ4aSX/GQ3ksV9bgLPofPyPWC/LZsNauFo=; b=XG8SJK33BDwMiVJqw1QQx/+w1u+bNOgMSY0Tm61NDdxthwyeJVFDjL2trbkS26WY7p jZL5SP/LnQPZ5kJd5XLSgnkgsncZhKVC409Hef4jfDFnY7IvAbw0Z6Jcw5ly8OpeIWvQ UGM+j2W6WexEmdSC3Ank/7x641c5dvG07g0kMxV7X1pkEbmYdgybn5q+Q26uI8tDQWVQ nmn/qpPE4yC3Ze4PkH0PVABDy0yahSoMSStaJFAjC060xRGBneViu6lkGSIScGSvoj1c tkpOvlSUT8q2dgbTtjyc3YTrif4+V03SHSnA70t3curI6Qdf3RU+8XqLy4XWfRjB984w Pjug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B8hL0jBT5xZ4aSX/GQ3ksV9bgLPofPyPWC/LZsNauFo=; b=lMfMOAsHyl3EuuKHOJDs7qBKDbIfzM4Gn9hq7j0nuT19qcgrt6QIh1Yc3jtKUzoBke KgD7NZpU8C2zreHzBRhNIjMQaNjiRHAmj4a/0OvZgfy1rQWxnruQ2+3CmHv7+UMq+/hk r+J/lH0AA9q1nx7iHYhZKYFVM3jotye9JJN6DGQSpxx464w7jR/2/LEAKAfF4iajP7dD VQMSUdl5lGzbjy99WzwMbVs7HZ73AEHyEleqozErdN+ga+gZHAZUQ8lKqXTENFlwGOWz y290IKpWxNYDaAOYpz/yeM1JX7z4tCyY+kF0nFA2Nz5yFbpyLa+aRGPb4rfb0Pmf0CSz FDYQ== X-Gm-Message-State: AOAM530LijcbCc3vYBiOYQ/xqVt9WtYdePm82sJSPHl6uvySoIWsuol6 k0sMUTH/eTd7spg0LbwhBRg= X-Received: by 2002:a05:620a:2681:b0:67e:933e:54b6 with SMTP id c1-20020a05620a268100b0067e933e54b6mr647276qkp.428.1650568840022; Thu, 21 Apr 2022 12:20:40 -0700 (PDT) Received: from jaehee-ThinkPad-X1-Extreme.wework.com ([4.34.18.218]) by smtp.gmail.com with ESMTPSA id l9-20020a05622a174900b002f34421b01csm2567736qtk.23.2022.04.21.12.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 12:20:39 -0700 (PDT) From: Jaehee Park To: Larry.Finger@lwfinger.net Cc: phil@philpotter.co.uk, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, jhpark1013@gmail.com Subject: [PATCH v4 1/7] staging: r8188eu: remove unnecessary braces in single statement block Date: Thu, 21 Apr 2022 15:20:26 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove braces for single statement block to minimize the number of empty lines, without loss of readability. Issue found with checkpatch. WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Jaehee Park --- drivers/staging/r8188eu/core/rtw_mlme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r8188eu/core/rtw_mlme.c index 3e9882f89f76..d3f4d7cdfa08 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme.c +++ b/drivers/staging/r8188eu/core/rtw_mlme.c @@ -112,9 +112,8 @@ void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv) rtw_free_mlme_priv_ie_data(pmlmepriv); - if (pmlmepriv) { + if (pmlmepriv) vfree(pmlmepriv->free_bss_buf); - } } -- 2.25.1