diff --git a/hw.go b/hw.go index 505ff698..eb68da11 100644 --- a/hw.go +++ b/hw.go @@ -31,14 +31,6 @@ func extractSerialNumber() (string, error) { return matches[1], nil } -func readOtpEntropy() ([]byte, error) { //nolint:unused - content, err := os.ReadFile("/sys/bus/nvmem/devices/rockchip-otp0/nvmem") - if err != nil { - return nil, err - } - return content[0x17:0x1C], nil -} - func hwReboot(force bool, postRebootAction *ota.PostRebootAction, delay time.Duration) error { logger.Info().Dur("delay", delay).Msg("reboot requested")