diff options
Diffstat (limited to 'usr.sbin/cpucontrol/amd.c')
-rw-r--r-- | usr.sbin/cpucontrol/amd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/cpucontrol/amd.c b/usr.sbin/cpucontrol/amd.c index bd36c9c..be0e0de 100644 --- a/usr.sbin/cpucontrol/amd.c +++ b/usr.sbin/cpucontrol/amd.c @@ -92,9 +92,7 @@ amd_update(const char *dev, const char *path) assert(dev); fd = -1; - devfd = -1; fw_image = MAP_FAILED; - error = 0; devfd = open(dev, O_RDWR); if (devfd < 0) { WARN(0, "could not open %s for writing", dev); |