backlight: Remove set but not used variable

This commit is contained in:
Piotr Pawel Stefaniak 2022-03-17 22:37:15 +01:00
parent 9ecf6e0f9f
commit fde687c239

View File

@ -101,11 +101,9 @@ main(int argc, char *argv[])
long percent = -1;
const char *percent_error;
uint32_t i;
bool setname;
bool quiet = false;
action = BACKLIGHT_QUERY;
setname = false;
fd = -1;
while ((ch = getopt(argc, argv, "f:qhi")) != -1) {
@ -114,7 +112,6 @@ main(int argc, char *argv[])
quiet = true;
break;
case 'f':
setname = true;
set_device_name(optarg);
break;
case 'i':