Skip to content

Commit

Permalink
broker/content-cache: drop cache_set_enclosing_flux()
Browse files Browse the repository at this point in the history
Drop unused code for setting flux_t handle of enclosing
instance.
  • Loading branch information
garlick committed Nov 6, 2018
1 parent a7075fe commit 6a449a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/broker/content-cache.c
Expand Up @@ -70,7 +70,6 @@ struct cache_entry {

struct content_cache {
flux_t *h;
flux_t *enclosing_h;
flux_msg_handler_t **handlers;
uint32_t rank;
zhash_t *entries;
Expand Down Expand Up @@ -900,11 +899,6 @@ int content_cache_set_flux (content_cache_t *cache, flux_t *h)
return 0;
}

void content_cache_set_enclosing_flux (content_cache_t *cache, flux_t *h)
{
cache->enclosing_h = h;
}

static int content_cache_setattr (const char *name, const char *val, void *arg)
{

Expand Down
1 change: 0 additions & 1 deletion src/broker/content-cache.h
@@ -1,7 +1,6 @@
typedef struct content_cache content_cache_t;

int content_cache_set_flux (content_cache_t *cache, flux_t *h);
void content_cache_set_enclosing_flux (content_cache_t *cache, flux_t *h);

content_cache_t *content_cache_create (void);
void content_cache_destroy (content_cache_t *cache);
Expand Down

0 comments on commit 6a449a4

Please sign in to comment.