Commit b9225ca7 authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Greg Kroah-Hartman

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: default avatarHimangi Saraogi <himangi774@gmail.com>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3629a441
......@@ -169,11 +169,10 @@ static void dump_eth_packet(const char *title, u8 *data, int len)
get_port_name(port));
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);
} else if (protocol == ETH_P_IPV6) {
else if (protocol == ETH_P_IPV6)
printk(KERN_DEBUG " src=%pI6\n", &ih->saddr);
}
}
#if (DUMP_PACKET & DUMP_SDU_ALL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment