packet: minor: remove unused err assignment
authorDaniel Borkmann <dxchgb@gmail.com>
Wed, 24 Oct 2012 13:27:24 +0000 (15:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2012 06:17:20 +0000 (02:17 -0400)
commit342567ccf088a6c4777ef352f559fe46aaeb047e
treef6093fee9ed4fabf34697c63693f04d951b977cf
parente0c075577965d1c01b30038d38bf637b027a1df3
packet: minor: remove unused err assignment

This tiny patch removes two unused err assignments. In those two cases the
err variable is either overwritten with another value at a later point in
time without having read the previous assigment, or it is assigned and the
function returns without using/reading err after the assignment.

Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c