Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2290290rwl; Sat, 8 Apr 2023 11:28:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcNKSy3o/5rdh2XgSL0RNl2hF1nWziNw1rFxoY+kJHlY7PDzNlj2ZUXDvzTzm/cPJGaaTw X-Received: by 2002:a17:907:1111:b0:947:7a69:96cf with SMTP id qu17-20020a170907111100b009477a6996cfmr2719538ejb.22.1680978496990; Sat, 08 Apr 2023 11:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680978496; cv=none; d=google.com; s=arc-20160816; b=vLvhVqLE+ocrsgJdyydejzLJVRz9cBEIWOVtNFd4DoVQ20KE1uWvlQQoolEibbQUkg AGDVBimJfDudPlUAXPwiztf5qmQu7EwL/ad01iqTO+H3IBfZQ2/J60BzOBF8vzHgEY3/ qDc5UCsaubJI2Du56/qc8LkhSw2wI1rmnZZjfPgZhqWyGXwROOPrSF5VjAe7p7zeHiZM rS9SLN7qkIFCj9hD/2l7hQlUkEve2hnQ4JoNWa1MXtYKT9281NqGwMWupnVxdxA9PwUl GqHMwksoxb7jQuJRuOUUPZfhyHetxriG0tJmyPnSorLV1BLByqDn5BAlSZmUDX9oi0FI 5fqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=R8HHvXXQE6AIqWjXJvDA7LWgy+P/P9D+TTlEknNugiE=; b=O/HgqRZ3mvTNpeDBIARsDaMaZZMYZ9C3kwDSFe12J4McjBjaVqCfn+eGjWS3QENLBB KOHXX+v7qvoi8c+U9XrfivRpMHVCD7vHW4mjxuWCT9aYzLBcWgaoXlYjMLcWa8SppLf1 F7w89KfZj6Qbh6pvp9Q+dTa2h6LcctKWzaG8tTDZZcuz3MTKvZEYNq1VSgwcfJjye4z+ pETgwM3mEiRqZ5GtfEkmedmjtQguJmz4ToTNcuO77+M5M1ZcgrQX/xiiHp0ldREDk00d gli1kkU0aP8uK+OnfzBNy1ol3/c0HGq+PP74D+8W/csV/8EimgWO0ekJAQ2K4Po8wdtf wzig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lH9rm0b7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wb5-20020a170907d50500b0092a8aa23062si4866690ejc.571.2023.04.08.11.27.46; Sat, 08 Apr 2023 11:28:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lH9rm0b7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229630AbjDHR4V (ORCPT + 99 others); Sat, 8 Apr 2023 13:56:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjDHR4U (ORCPT ); Sat, 8 Apr 2023 13:56:20 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF0B726AF for ; Sat, 8 Apr 2023 10:56:17 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id ke16so1356480plb.6 for ; Sat, 08 Apr 2023 10:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680976577; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=R8HHvXXQE6AIqWjXJvDA7LWgy+P/P9D+TTlEknNugiE=; b=lH9rm0b7ENP5XfL8VDlsM8Y74tKD50qq+xoIDUzEeV7T0Oa2V7AFxpoGP7eOiiVv6z 1+AdLyH5NjkLPvhD/T6QQ+5E5Yqe9jMdlhhJx0h7q2JtNmB8QrBbMUmRQ+kfZuhLO++M 8gq7T26BWuux0+NvyO6gMJuWKvEuUXapHn3DjnNlzbLFHix7v4OEvFsnfquHFQNvj3ss s8h8q/8KdNyI4/RXJQjd2cg5bMnI3u37mS4FrNHvh5WhpMt29CNUc0BG/DlO/LaW6zoc obTkNjzld3Y1fbNJ6SaRs+iIV385oPoRCyAcPkx79isue6mBOwq+FJ3jKopAE+jQHz/g NAzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680976577; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R8HHvXXQE6AIqWjXJvDA7LWgy+P/P9D+TTlEknNugiE=; b=2kW6pNO8MW8yeu6bk9iKW8gruZgcrwlNwMZI7YjSX7fqumf5xtB6mX0+0RZzRDz1Wz vI3vLBr4J1SmjCQH9NnYq0FQsIrALHwlgwIGJq1kxjBPsJIBHYFiENzfrDsJU9R18FN8 6/ahAbVL7jFqiU2pmUnoQSDHgn6CuOD2fmdbZNd1t/yVcpZwIOW92yFVBcWmefFzbMnG cmESvuHl6YpKNTmkPmrMXwfpylY6U4GPP/4TOPZmLoPmUaLeITn7NAZp2o+3OmCd2u0e I4h39UTvr/tHtK8XYSPCNl6htmijhSGX+UvHEAweoLRDuQX0U4dhlO8BTYzhUTYXRtmt 56Xw== X-Gm-Message-State: AAQBX9eu1e1WXeLx1gCCP4JLeFo23jTG6tRiDbvXauLP3rXIc8lQaYoH aQtXy7GQbMZ6hgVWOgzENe2bvNz52D8UKQ== X-Received: by 2002:a05:6a20:3aa9:b0:d9:162d:98e4 with SMTP id d41-20020a056a203aa900b000d9162d98e4mr5923274pzh.54.1680976577152; Sat, 08 Apr 2023 10:56:17 -0700 (PDT) Received: from sumitra.com ([117.207.136.97]) by smtp.gmail.com with ESMTPSA id e18-20020aa78c52000000b0062a474cd46asm4974500pfd.137.2023.04.08.10.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 10:56:16 -0700 (PDT) Date: Sat, 8 Apr 2023 10:56:10 -0700 From: Sumitra Sharma To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8192e: Remove unnecessary blank lines Message-ID: <20230408175610.GA263094@sumitra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 extra blank lines as suggested by the Linux kernel coding-style. These issues were reported by checkpatch. CHECK: Blank lines aren't necessary before a close brace '}' CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Please don't use multiple blank lines Signed-off-by: Sumitra Sharma --- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac_wx.c b/drivers/staging/rtl8192e/rtllib_softmac_wx.c index 1f2fa711e60b..c8e318f5bddd 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac_wx.c +++ b/drivers/staging/rtl8192e/rtllib_softmac_wx.c @@ -25,7 +25,6 @@ const long rtllib_wlan_frequencies[] = { }; EXPORT_SYMBOL(rtllib_wlan_frequencies); - int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) { @@ -83,7 +82,6 @@ int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, } EXPORT_SYMBOL(rtllib_wx_set_freq); - int rtllib_wx_get_freq(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) @@ -128,13 +126,11 @@ int rtllib_wx_get_wap(struct rtllib_device *ieee, } EXPORT_SYMBOL(rtllib_wx_get_wap); - int rtllib_wx_set_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra) { - int ret = 0; unsigned long flags; @@ -164,7 +160,6 @@ int rtllib_wx_set_wap(struct rtllib_device *ieee, goto out; } - if (ifup) rtllib_stop_protocol(ieee, true); @@ -220,7 +215,6 @@ int rtllib_wx_get_essid(struct rtllib_device *ieee, struct iw_request_info *a, spin_unlock_irqrestore(&ieee->lock, flags); return ret; - } EXPORT_SYMBOL(rtllib_wx_get_essid); @@ -228,7 +222,6 @@ int rtllib_wx_set_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { - u32 target_rate = wrqu->bitrate.value; ieee->rate = target_rate/100000; @@ -250,7 +243,6 @@ int rtllib_wx_get_rate(struct rtllib_device *ieee, } EXPORT_SYMBOL(rtllib_wx_get_rate); - int rtllib_wx_set_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) @@ -403,7 +395,6 @@ void rtllib_wx_sync_scan_wq(void *data) out: mutex_unlock(&ieee->wx_mutex); - } int rtllib_wx_set_scan(struct rtllib_device *ieee, struct iw_request_info *a, @@ -434,7 +425,6 @@ int rtllib_wx_set_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra) { - int ret = 0, len; short proto_started; unsigned long flags; @@ -454,7 +444,6 @@ int rtllib_wx_set_essid(struct rtllib_device *ieee, if (proto_started) rtllib_stop_protocol(ieee, true); - /* this is just to be sure that the GET wx callback * has consistent infos. not needed otherwise */ @@ -492,7 +481,6 @@ int rtllib_wx_set_rawtx(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { - int *parms = (int *)extra; int enable = (parms[0] > 0); short prev = ieee->raw_tx; @@ -537,7 +525,6 @@ int rtllib_wx_get_name(struct rtllib_device *ieee, struct iw_request_info *info, } EXPORT_SYMBOL(rtllib_wx_get_name); - /* this is mostly stolen from hostap */ int rtllib_wx_set_power(struct rtllib_device *ieee, struct iw_request_info *info, @@ -583,12 +570,10 @@ int rtllib_wx_set_power(struct rtllib_device *ieee, default: ret = -EINVAL; goto exit; - } exit: mutex_unlock(&ieee->wx_mutex); return ret; - } EXPORT_SYMBOL(rtllib_wx_set_power); @@ -625,6 +610,5 @@ int rtllib_wx_get_power(struct rtllib_device *ieee, exit: mutex_unlock(&ieee->wx_mutex); return 0; - } EXPORT_SYMBOL(rtllib_wx_get_power); -- 2.25.1