mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue