net: delete duplicate dev_set_rx_mode() call
authorPeter Pan(潘卫平) <panweiping3@gmail.com>
Mon, 16 Jun 2014 13:57:22 +0000 (21:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2014 22:30:54 +0000 (15:30 -0700)
commitd215d10f2d6bd41ce9d11a2707568bbb50d2c32e
treead419008829a94d61f01c8a2e83d567a238ad02e
parent3dac9a79e1425069e7950bd46bd932e0b1c1d795
net: delete duplicate dev_set_rx_mode() call

In __dev_open(), it already calls dev_set_rx_mode().
and dev_set_rx_mode() has no effect for a net device which does not have
IFF_UP flag set.

So the call of dev_set_rx_mode() is duplicate in __dev_change_flags().

Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c