fix return in ::drop_device()