summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm72xx
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-03-05 22:11:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-07 15:41:30 -0800
commitb9225ca71a70ecb3984d3f9e4f65ea9989f4cd6f (patch)
tree04e2b87b330ed028c2942b49d4b4f045638848ea /drivers/staging/gdm72xx
parent3629a4419539971bcbd2fd7e4c50dc0c9187d8e2 (diff)
downloadlinux-b9225ca71a70ecb3984d3f9e4f65ea9989f4cd6f.tar.gz
linux-b9225ca71a70ecb3984d3f9e4f65ea9989f4cd6f.tar.bz2
linux-b9225ca71a70ecb3984d3f9e4f65ea9989f4cd6f.zip
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>
Diffstat (limited to 'drivers/staging/gdm72xx')
-rw-r--r--drivers/staging/gdm72xx/gdm_wimax.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c
index dd854975db7d..f71d2d239237 100644
--- a/drivers/staging/gdm72xx/gdm_wimax.c
+++ b/drivers/staging/gdm72xx/gdm_wimax.c
@@ -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)