Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8712: Fix multiple blank lines warning from .c files

This patch fixes the checkpatch.pl warnings like:
CHECK: Please don't use multiple blank lines
+
+
from rtl871x_ioctl_rtl.c, rtl871x_ioctl_set.c, rtl871x_recv.c,
and rtl871x_security.c

Signed-off-by: Sathish Kumar <skumark1902@gmail.com>
Link: https://lore.kernel.org/r/20220404035213.2609-1-skumark1902@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sathish Kumar and committed by
Greg Kroah-Hartman
054cd1b7 0eaf4a62

-4
-1
drivers/staging/rtl8712/rtl871x_ioctl_rtl.c
··· 367 367 return RNDIS_STATUS_SUCCESS; 368 368 } 369 369 370 - 371 370 uint oid_rt_forced_data_rate_hdl(struct oid_par_priv *poid_par_priv) 372 371 { 373 372 return RNDIS_STATUS_SUCCESS;
-1
drivers/staging/rtl8712/rtl871x_ioctl_set.c
··· 22 22 #include "usb_osintf.h" 23 23 #include "usb_ops.h" 24 24 25 - 26 25 static u8 validate_ssid(struct ndis_802_11_ssid *ssid) 27 26 { 28 27 u8 i;
-1
drivers/staging/rtl8712/rtl871x_recv.c
··· 455 455 return _FAIL; 456 456 } 457 457 458 - 459 458 static sint validate_recv_data_frame(struct _adapter *adapter, 460 459 union recv_frame *precv_frame) 461 460 {
-1
drivers/staging/rtl8712/rtl871x_security.c
··· 381 381 #define P1K_SIZE 10 /* 80-bit Phase1 key */ 382 382 #define RC4_KEY_SIZE 16 /* 128-bit RC4KEY (104 bits unknown) */ 383 383 384 - 385 384 /* 2-unsigned char by 2-unsigned char subset of the full AES S-box table */ 386 385 static const unsigned short Sbox1[2][256] = {/* Sbox for hash (can be in ROM) */ 387 386 {