discover/device-handler: Remove default option if device removed v1.2.1
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 29 Jun 2016 05:43:20 +0000 (15:43 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 14 Jul 2016 03:49:34 +0000 (13:49 +1000)
commit7e6dd06b20beda18d07ce725e4d8c4473d10d902
tree9fc959e26e92337011c21202517692cafbc96112
parent6a6d2c94bd5c001750e8eaa133a61a87964efa70
discover/device-handler: Remove default option if device removed

If one of a device's boot options is the current default boot option,
make sure the default boot is cancelled before the device is removed.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c