Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8192e: Remove function with no effect

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Mike McCormack and committed by
Greg Kroah-Hartman
196bd687 b6d5e884

-35
-35
drivers/staging/rtl8192e/r819xE_cmdpkt.c
··· 322 322 323 323 } 324 324 325 - static void cmdpkt_beacontimerinterrupt_819xusb(struct net_device *dev) 326 - { 327 - struct r8192_priv *priv = ieee80211_priv(dev); 328 - u16 tx_rate; 329 - { 330 - // 331 - // 070117, rcnjko: 87B have to S/W beacon for DTM encryption_cmn. 332 - // 333 - if((priv->ieee80211->current_network.mode == IEEE_A) || 334 - (priv->ieee80211->current_network.mode == IEEE_N_5G) || 335 - ((priv->ieee80211->current_network.mode == IEEE_N_24G) && (!priv->ieee80211->pHTInfo->bCurSuppCCK))) 336 - { 337 - tx_rate = 60; 338 - DMESG("send beacon frame tx rate is 6Mbpm\n"); 339 - } 340 - else 341 - { 342 - tx_rate =10; 343 - DMESG("send beacon frame tx rate is 1Mbpm\n"); 344 - } 345 - 346 - //rtl819xusb_beacon_tx(dev,tx_rate); // HW Beacon 347 - 348 - } 349 - 350 - } 351 - 352 - 353 - 354 325 355 326 /*----------------------------------------------------------------------------- 356 327 * Function: cmpk_handle_interrupt_status() ··· 389 418 priv->ieee80211->bibsscoordinator = false; 390 419 priv->stats.txbeaconerr++; 391 420 } 392 - 393 - if (rx_intr_status.interrupt_status & ISR_BcnTimerIntr) 394 - { 395 - cmdpkt_beacontimerinterrupt_819xusb(dev); 396 - } 397 - 398 421 } 399 422 400 423 // Other informations in interrupt status we need?