mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 18:49:22 -04:00
Staging: bcm: Shortened lines in deleteSFBySfid()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e61f63557b
commit
3563e4ee9c
@@ -109,7 +109,8 @@ static int SearchFreeClsid(struct bcm_mini_adapter *Adapter /**Adapter Context*/
|
||||
return MAX_CLASSIFIERS+1;
|
||||
}
|
||||
|
||||
static VOID deleteSFBySfid(struct bcm_mini_adapter *Adapter, UINT uiSearchRuleIndex)
|
||||
static VOID deleteSFBySfid(struct bcm_mini_adapter *Adapter,
|
||||
UINT uiSearchRuleIndex)
|
||||
{
|
||||
/* deleting all the packet held in the SF */
|
||||
flush_queue(Adapter, uiSearchRuleIndex);
|
||||
@@ -118,7 +119,8 @@ static VOID deleteSFBySfid(struct bcm_mini_adapter *Adapter, UINT uiSearchRuleIn
|
||||
DeleteAllClassifiersForSF(Adapter, uiSearchRuleIndex);
|
||||
|
||||
/* Resetting only MIBS related entries in the SF */
|
||||
memset((PVOID)&Adapter->PackInfo[uiSearchRuleIndex], 0, sizeof(struct bcm_mibs_table));
|
||||
memset((PVOID)&Adapter->PackInfo[uiSearchRuleIndex], 0,
|
||||
sizeof(struct bcm_mibs_table));
|
||||
}
|
||||
|
||||
static inline VOID
|
||||
|
||||
Reference in New Issue
Block a user