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
1 changed files with 5 additions and 2 deletions
|
@ -78,13 +78,16 @@ static int SearchFreeSfid(struct bcm_mini_adapter *Adapter)
|
||||||
* B_UINT16 uiClassifierID - The classifier ID to be searched
|
* B_UINT16 uiClassifierID - The classifier ID to be searched
|
||||||
* Return: int :Classifier table index of matching entry
|
* 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;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < MAX_CLASSIFIERS; i++) {
|
for (i = 0; i < MAX_CLASSIFIERS; i++) {
|
||||||
if ((Adapter->astClassifierTable[i].bUsed) &&
|
if ((Adapter->astClassifierTable[i].bUsed) &&
|
||||||
(Adapter->astClassifierTable[i].uiClassifierRuleIndex == uiClassifierID) &&
|
(Adapter->astClassifierTable[i].uiClassifierRuleIndex
|
||||||
|
== uiClassifierID) &&
|
||||||
(Adapter->astClassifierTable[i].ulSFID == ulSFID))
|
(Adapter->astClassifierTable[i].ulSFID == ulSFID))
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue