remove unreachable statement

This commit is contained in:
Kovid Goyal 2021-06-27 16:07:35 +05:30
parent 54e510a415
commit c32052eaa5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -662,7 +662,6 @@ class Device(DeviceConfig, DevicePlugin):
if not d.serial:
raise DeviceError("Device has no S/N. Can't continue")
return False
from .hal import get_hal
hal = get_hal()
vols = hal.get_volumes(d)