Staging: bcm: IPv6Protocol.c: Whitespace cleanup
Removes whitespace before semicolons and add blank line after declaration. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bb76972441
commit
dca9fe7b2c
1 changed files with 5 additions and 6 deletions
|
@ -11,7 +11,7 @@ static UCHAR *GetNextIPV6ChainedHeader(UCHAR **ppucPayload,
|
||||||
{
|
{
|
||||||
UCHAR *pucRetHeaderPtr = NULL;
|
UCHAR *pucRetHeaderPtr = NULL;
|
||||||
UCHAR *pucPayloadPtr = NULL;
|
UCHAR *pucPayloadPtr = NULL;
|
||||||
USHORT usNextHeaderOffset = 0 ;
|
USHORT usNextHeaderOffset = 0;
|
||||||
struct bcm_mini_adapter *Adapter = GET_BCM_ADAPTER(gblpnetdev);
|
struct bcm_mini_adapter *Adapter = GET_BCM_ADAPTER(gblpnetdev);
|
||||||
|
|
||||||
if ((ppucPayload == NULL) || (*pusPayloadLength == 0) ||
|
if ((ppucPayload == NULL) || (*pusPayloadLength == 0) ||
|
||||||
|
@ -71,7 +71,7 @@ static UCHAR *GetNextIPV6ChainedHeader(UCHAR **ppucPayload,
|
||||||
"\nIPv6 DestOpts Header Header");
|
"\nIPv6 DestOpts Header Header");
|
||||||
usNextHeaderOffset += sizeof(struct bcm_ipv6_dest_options_hdr);
|
usNextHeaderOffset += sizeof(struct bcm_ipv6_dest_options_hdr);
|
||||||
usNextHeaderOffset += nTotalOptions *
|
usNextHeaderOffset += nTotalOptions *
|
||||||
IPV6_DESTOPTS_HDR_OPTIONSIZE ;
|
IPV6_DESTOPTS_HDR_OPTIONSIZE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -356,7 +356,6 @@ static bool MatchDestIpv6Address(struct bcm_classifier_rule *pstClassifierRule,
|
||||||
*/
|
*/
|
||||||
UINT uiCountIPDestinationAddresses = (UINT)pstClassifierRule->ucIPDestinationAddressLength;
|
UINT uiCountIPDestinationAddresses = (UINT)pstClassifierRule->ucIPDestinationAddressLength;
|
||||||
|
|
||||||
|
|
||||||
if (uiCountIPDestinationAddresses == 0)
|
if (uiCountIPDestinationAddresses == 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue