staging: rtlwifi: Keep expressions on one line
authorMaya Nakamura <m.maya.nakamura@gmail.com>
Wed, 31 Oct 2018 21:11:20 +0000 (14:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 13:53:58 +0000 (14:53 +0100)
Edit two statements to keep expressions on one line--one from Julia's
feedback.

Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/phydm/phydm_debug.c
drivers/staging/rtlwifi/phydm/phydm_hwconfig.c

index 1c7faa5840f2f95a4d6edee45b077c73c1fb5c13..91f2c054d83b23c9b5ec12e7de5c4515bcfcb7fe 100644 (file)
@@ -159,9 +159,7 @@ void phydm_init_debug_setting(struct phy_dm_struct *dm)
        dm->debug_level = ODM_DBG_TRACE;
 
        dm->fw_debug_components = 0;
-       dm->debug_components =
-
-               0;
+       dm->debug_components = 0;
 
        dm->fw_buff_is_enpty = true;
        dm->pre_c2h_seq = 0;
index e7dcb5b02ad44e6cc5caae3696ad60830b6aa584..a4ad39ab3ddff6ae9afd8adff8adf08143cb811d 100644 (file)
@@ -45,8 +45,8 @@ static u32 phydm_process_rssi_pwdb(struct phy_dm_struct *dm,
        u32 weighting = 0, undecorated_smoothed_pwdb;
        /* 2011.07.28 LukeLee: modified to prevent unstable CCK RSSI */
 
-       if (entry->rssi_stat.ofdm_pkt ==
-           64) { /* speed up when all packets are OFDM*/
+       if (entry->rssi_stat.ofdm_pkt == 64) {
+               /* speed up when all packets are OFDM */
                undecorated_smoothed_pwdb = undecorated_smoothed_ofdm;
                ODM_RT_TRACE(dm, ODM_COMP_RSSI_MONITOR,
                             "PWDB_0[%d] = (( %d ))\n", pktinfo->station_id,