[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201107171151478596113@gmail.com>
Date: Sun, 17 Jul 2011 11:51:50 +0800
From: "jiangtao.jit" <jiangtao.jit@...il.com>
To: "linux-kernel" <linux-kernel@...r.kernel.org>
Subject: problem with function vlan_get_protocol()
Hi,all
in file inclue/linux/if_vlan.h
there is a statement in function vlan_get_protocol()
if (likely(protop))
protocol = *protop;
do we need an else branch on pointer protop failed through the else is unlikely
if (likely(protop))
protocol = *protop;
else
protocol = proto;
thanks
----------------------
2011-07-17
jiangtao.jit
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists