mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
Staging: bcm: Shortened lines in SearchClsid()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3563e4ee9c
commit
3fdf44ca2a
|
|
@ -78,13 +78,16 @@ static int SearchFreeSfid(struct bcm_mini_adapter *Adapter)
|
|||
* B_UINT16 uiClassifierID - The classifier ID to be searched
|
||||
* Return: int :Classifier table index of matching entry
|
||||
*/
|
||||
static int SearchClsid(struct bcm_mini_adapter *Adapter, ULONG ulSFID, B_UINT16 uiClassifierID)
|
||||
static int SearchClsid(struct bcm_mini_adapter *Adapter,
|
||||
ULONG ulSFID,
|
||||
B_UINT16 uiClassifierID)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < MAX_CLASSIFIERS; i++) {
|
||||
if ((Adapter->astClassifierTable[i].bUsed) &&
|
||||
(Adapter->astClassifierTable[i].uiClassifierRuleIndex == uiClassifierID) &&
|
||||
(Adapter->astClassifierTable[i].uiClassifierRuleIndex
|
||||
== uiClassifierID) &&
|
||||
(Adapter->astClassifierTable[i].ulSFID == ulSFID))
|
||||
return i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user