Skip to content

Instantly share code, notes, and snippets.

@GustavoARSilva
Created August 30, 2017 13:26
Show Gist options
  • Select an option

  • Save GustavoARSilva/0f4fdb4257545f56712fc25af0de42b0 to your computer and use it in GitHub Desktop.

Select an option

Save GustavoARSilva/0f4fdb4257545f56712fc25af0de42b0 to your computer and use it in GitHub Desktop.
Duplicated code for different branches (FIXME comment)
diff...
--- drivers/net/wireless/broadcom/b43/xmit.c
+++ /tmp/cocci-output-4443-305535-xmit.c
@@ -185,9 +185,7 @@ static u16 b43_generate_tx_phy_ctl1(stru
u16 bw;
if (phy->type == B43_PHYTYPE_LP)
- bw = B43_TXH_PHY1_BW_20;
else /* FIXME */
- bw = B43_TXH_PHY1_BW_20;
if (0) { /* FIXME: MIMO */
} else if (b43_is_cck_rate(bitrate) && phy->type != B43_PHYTYPE_LP) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment