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

staging: r8188eu: remove unnecessary comments

Remove some unnecessary comments in odm.c.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211229205108.26373-32-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Michael Straube and committed by
Greg Kroah-Hartman
489257e6 dc481cb5

-13
-13
drivers/staging/r8188eu/hal/odm.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* Copyright(c) 2007 - 2011 Realtek Corporation. */ 3 3 4 - /* include files */ 5 - 6 4 #include "../include/odm_precomp.h" 7 5 8 6 /* avoid to warn in FreeBSD ==> To DO modify */ ··· 635 637 precvpriv->last_rx_bytes = precvpriv->rx_bytes; 636 638 } 637 639 638 - /* 3 Export Interface */ 639 - 640 640 /* 2011/09/21 MH Add to describe different team necessary resource allocate?? */ 641 641 void ODM_DMInit(struct odm_dm_struct *pDM_Odm) 642 642 { ··· 692 696 case ODM_CMNINFO_RF_ANTENNA_TYPE: 693 697 pDM_Odm->AntDivType = (u8)Value; 694 698 break; 695 - /* To remove the compiler warning, must add an empty default statement to handle the other values. */ 696 699 default: 697 700 /* do nothing */ 698 701 break; ··· 729 734 case ODM_CMNINFO_POWER_SAVING: 730 735 pDM_Odm->pbPowerSaving = (bool *)pValue; 731 736 break; 732 - /* To remove the compiler warning, must add an empty default statement to handle the other values. */ 733 737 default: 734 738 /* do nothing */ 735 739 break; ··· 829 835 pDM_PSTable->pre_rf_state = pDM_PSTable->cur_rf_state; 830 836 } 831 837 } 832 - 833 - /* 3============================================================ */ 834 - /* 3 RATR MASK */ 835 - /* 3============================================================ */ 836 - /* 3============================================================ */ 837 - /* 3 Rate Adaptive */ 838 - /* 3============================================================ */ 839 838 840 839 u32 ODM_Get_Rate_Bitmap(struct odm_dm_struct *pDM_Odm, u32 macid, u32 ra_mask, u8 rssi_level) 841 840 {