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:
parent
e61f63557b
commit
3563e4ee9c
1 changed files with 4 additions and 2 deletions
|
@ -109,7 +109,8 @@ static int SearchFreeClsid(struct bcm_mini_adapter *Adapter /**Adapter Context*/
|
||||||
return MAX_CLASSIFIERS+1;
|
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 */
|
/* deleting all the packet held in the SF */
|
||||||
flush_queue(Adapter, uiSearchRuleIndex);
|
flush_queue(Adapter, uiSearchRuleIndex);
|
||||||
|
@ -118,7 +119,8 @@ static VOID deleteSFBySfid(struct bcm_mini_adapter *Adapter, UINT uiSearchRuleIn
|
||||||
DeleteAllClassifiersForSF(Adapter, uiSearchRuleIndex);
|
DeleteAllClassifiersForSF(Adapter, uiSearchRuleIndex);
|
||||||
|
|
||||||
/* Resetting only MIBS related entries in the SF */
|
/* 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
|
static inline VOID
|
||||||
|
|
Loading…
Add table
Reference in a new issue