]> err.no Git - linux-2.6/commit
[AF_PACKET]: Fix minor code duplication
authorUrs Thuermann <urs@isnogud.escape.de>
Tue, 13 Nov 2007 05:05:20 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 05:05:20 +0000 (21:05 -0800)
commitbe85d4ad8ab69520e5ca4717c491a311c9eeae59
tree3f140cc3bd090d9b3019ef0c7eaec7bd1b95e98a
parent57ce45dd16cd427ac2bdef202daf513bd25d650b
[AF_PACKET]: Fix minor code duplication

Simplify some code by eliminating duplicate if-else clauses in
packet_do_bind().

Signed-off-by: Urs Thuermann <urs@isnogud.escape.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c