Skip to content

Commit a272229

Browse files
committed
Remove unused variables
The only warnings that -Wall shows, nice. Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 355daf1 commit a272229

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

gpu_cfg_generator.c

-3
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ static struct default_ssd_cfg ssd_cfg = {
217217
void program_eeprom(const char * serial, struct gpu_cfg_descriptor * descriptor, size_t len, const char * outpath)
218218
{
219219
crc_t crc;
220-
size_t addr = 0;
221-
int d, i;
222220
FILE *fptr;
223221
printf("generating EEPROM\n");
224222
memset(descriptor->serial, 0x00, GPU_SERIAL_LEN);
@@ -246,7 +244,6 @@ int main(int argc, char *argv[]) {
246244
char *serialvalue = NULL;
247245
char *pcbvalue = NULL;
248246
char *outfilename = "eeprom.bin";
249-
int index;
250247
int c;
251248

252249
opterr = 0;

0 commit comments

Comments
 (0)