]> www.infradead.org Git - linux.git/commitdiff
staging: rtl8192e: Fix Assignment operator '=' in rtl_dm.c:1488
authorAlien Wesley <alienwesley51@gmail.com>
Thu, 22 Aug 2024 16:30:57 +0000 (13:30 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2024 01:17:00 +0000 (09:17 +0800)
Removed enter before operator '=' in rtl_dm.c:1488 in order to silence the
following checkpatch warning.

CHECK: Assignment operator '=' should be on the previous line

Signed-off-by: Alien Wesley <alienwesley51@gmail.com>
Link: https://lore.kernel.org/r/20240822163057.14114-1-alienwesley51@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c

index 0c7f38a4a7db8b4a1912c84df6a66b5b3c03740c..e9ca5a8768ad13f611adc77b79fa555aab5e7a50 100644 (file)
@@ -1484,8 +1484,7 @@ static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev)
                                        rtl92e_set_bb_reg(dev,
                                                          rOFDM1_TRxPathEnable,
                                                          0x1 << i, 0x1);
-                                       dm_rx_path_sel_table.rf_enable_rssi_th[i]
-                                                = 100;
+                                       dm_rx_path_sel_table.rf_enable_rssi_th[i] = 100;
                                        disabled_rf_cnt--;
                                }
                        }