Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -169,12 +169,11 @@ 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)
	printk_hex(data, len);