j1939sr: remove legacy program_invocation_name/program_invocation_short_name code

- remove legacy program_invocation_name/program_invocation_short_name code

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
pull/552/head
Peter Seiderer 2024-07-22 16:17:50 +02:00
parent d337863d91
commit a63bf468c2
1 changed files with 0 additions and 3 deletions

View File

@ -94,9 +94,6 @@ int main(int argc, char **argv)
struct pollfd pfd[2]; struct pollfd pfd[2];
uint8_t *buf; uint8_t *buf;
#ifdef _GNU_SOURCE
program_invocation_name = program_invocation_short_name;
#endif
/* argument parsing */ /* argument parsing */
while ((opt = getopt_long(argc, argv, optstring, long_opts, NULL)) != -1) while ((opt = getopt_long(argc, argv, optstring, long_opts, NULL)) != -1)
switch (opt) { switch (opt) {