Commit 976a4b90 authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Remove member initialgain_lowerbound_state - Style

The structure 'dig' defines a member variable
'initialgain_lowerbound_state', which although initialised to false,
is never used in the code. As a result this unused member variable
has been removed.

This is a coding style change which should not impact runtime code
execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a2351af9
...@@ -1640,7 +1640,6 @@ static void dm_dig_init(struct net_device *dev) ...@@ -1640,7 +1640,6 @@ static void dm_dig_init(struct net_device *dev)
/* 2007/10/04 MH Define init gain threshold. */ /* 2007/10/04 MH Define init gain threshold. */
dm_digtable.dig_state = DM_STA_DIG_MAX; dm_digtable.dig_state = DM_STA_DIG_MAX;
dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX; dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX;
dm_digtable.initialgain_lowerbound_state = false;
dm_digtable.rssi_low_thresh = DM_DIG_THRESH_LOW; dm_digtable.rssi_low_thresh = DM_DIG_THRESH_LOW;
dm_digtable.rssi_high_thresh = DM_DIG_THRESH_HIGH; dm_digtable.rssi_high_thresh = DM_DIG_THRESH_HIGH;
......
...@@ -119,7 +119,6 @@ struct dig { ...@@ -119,7 +119,6 @@ struct dig {
u8 backoff_val; u8 backoff_val;
u8 rx_gain_range_min; u8 rx_gain_range_min;
bool initialgain_lowerbound_state;
long rssi_val; long rssi_val;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment