Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove unused si_device from struct source_info
  • Loading branch information
perexg committed Jan 13, 2016
1 parent 7a919b1 commit 84ad19a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/service.c
Expand Up @@ -1468,7 +1468,6 @@ service_done(void)
void
service_source_info_free(struct source_info *si)
{
free(si->si_device);
free(si->si_adapter);
free(si->si_network);
free(si->si_mux);
Expand All @@ -1482,7 +1481,6 @@ void
service_source_info_copy(source_info_t *dst, const source_info_t *src)
{
#define COPY(x) dst->si_##x = src->si_##x ? strdup(src->si_##x) : NULL
COPY(device);
COPY(adapter);
COPY(network);
COPY(mux);
Expand Down
1 change: 0 additions & 1 deletion src/tvheadend.h
Expand Up @@ -97,7 +97,6 @@ extern int tvheadend_webui_debug;
extern int tvheadend_htsp_port;

typedef struct source_info {
char *si_device;
char *si_adapter;
char *si_network;
char *si_satpos;
Expand Down

0 comments on commit 84ad19a

Please sign in to comment.