staging:gdm72xx: Fix unnecessary brace errors
This patch fixes the following warning for gdm_wimax.c WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3629a44195
commit
b9225ca71a
1 changed files with 2 additions and 3 deletions
|
@ -169,11 +169,10 @@ static void dump_eth_packet(const char *title, u8 *data, int len)
|
||||||
get_port_name(port));
|
get_port_name(port));
|
||||||
|
|
||||||
if (!(data[0] == 0xff && data[1] == 0xff)) {
|
if (!(data[0] == 0xff && data[1] == 0xff)) {
|
||||||
if (protocol == ETH_P_IP) {
|
if (protocol == ETH_P_IP)
|
||||||
printk(KERN_DEBUG " src=%pI4\n", &ih->saddr);
|
printk(KERN_DEBUG " src=%pI4\n", &ih->saddr);
|
||||||
} else if (protocol == ETH_P_IPV6) {
|
else if (protocol == ETH_P_IPV6)
|
||||||
printk(KERN_DEBUG " src=%pI6\n", &ih->saddr);
|
printk(KERN_DEBUG " src=%pI6\n", &ih->saddr);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (DUMP_PACKET & DUMP_SDU_ALL)
|
#if (DUMP_PACKET & DUMP_SDU_ALL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue