device_add_user: return immediately if the new device is the same as the old device
authorFelix Fietkau <nbd@openwrt.org>
Thu, 3 Oct 2013 13:10:33 +0000 (15:10 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Oct 2013 13:10:33 +0000 (15:10 +0200)
commit9c5fe49282cd15e81c8cf771aa271db10facc5b1
treee47c391b4a16168abe5bfd6eb92774a76b4144d8
parenta4fd42af1acf5019ad8ad198bd466e030ef06bd5
device_add_user: return immediately if the new device is the same as the old device

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
device.c