Skip to content

Commit

Permalink
staging: rtl8192u: removed some non used else's
Browse files Browse the repository at this point in the history
This patch removes some else blocks that has no function in the
code

Signed-off-by: Patrik Kårlin <patrik.karlin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Patrik Karlin authored and Greg Kroah-Hartman committed Jan 12, 2013
1 parent f00c493 commit 29b48ae
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions drivers/staging/rtl8192u/r8192U_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@ short rtl8192_tx(struct net_device *dev, struct sk_buff* skb)
dev->trans_start = jiffies;
atomic_inc(&priv->tx_pending[tcb_desc->queue_index]);
return 0;
}else{
} else {
RT_TRACE(COMP_ERR, "Error TX URB %d, error %d", atomic_read(&priv->tx_pending[tcb_desc->queue_index]),
status);
return -1;
Expand Down Expand Up @@ -4571,11 +4571,8 @@ void rtl8192_process_phyinfo(struct r8192_priv * priv,u8* buffer, struct ieee802
{
// if previous packet is not aggregated packet
bcheck = true;
}else
{
}


if(slide_rssi_statistics++ >= PHY_RSSI_SLID_WIN_MAX)
{
slide_rssi_statistics = PHY_RSSI_SLID_WIN_MAX;
Expand Down Expand Up @@ -5675,10 +5672,6 @@ void rtl8192_rx_cmd(struct sk_buff *skb)

dev_kfree_skb_any(skb);
}
else
;


}

void rtl8192_irq_rx_tasklet(struct r8192_priv *priv)
Expand Down

0 comments on commit 29b48ae

Please sign in to comment.