diff options
Diffstat (limited to 'xlators/cluster/dht/src/switch.c')
-rw-r--r-- | xlators/cluster/dht/src/switch.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xlators/cluster/dht/src/switch.c b/xlators/cluster/dht/src/switch.c index e48e369a4d4..20356e24eb4 100644 --- a/xlators/cluster/dht/src/switch.c +++ b/xlators/cluster/dht/src/switch.c @@ -252,8 +252,6 @@ switch_lookup (call_frame_t *frame, xlator_t *this, local = dht_local_init (frame); if (!local) { op_errno = ENOMEM; - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } @@ -351,8 +349,6 @@ switch_lookup (call_frame_t *frame, xlator_t *this, conf->subvolume_cnt); if (!local->layout) { op_errno = ENOMEM; - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } @@ -439,8 +435,6 @@ switch_create (call_frame_t *frame, xlator_t *this, local = dht_local_init (frame); if (!local) { op_errno = ENOMEM; - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } @@ -463,8 +457,6 @@ switch_create (call_frame_t *frame, xlator_t *this, /* create a link file instead of actual file */ ret = loc_copy (&local->loc, loc); if (ret == -1) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); op_errno = ENOMEM; goto err; } @@ -545,8 +537,6 @@ switch_mknod (call_frame_t *frame, xlator_t *this, local = dht_local_init (frame); if (!local) { op_errno = ENOMEM; - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } @@ -570,8 +560,6 @@ switch_mknod (call_frame_t *frame, xlator_t *this, /* Create linkfile first */ ret = loc_copy (&local->loc, loc); if (ret == -1) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); op_errno = ENOMEM; goto err; } @@ -898,8 +886,6 @@ init (xlator_t *this) conf = GF_CALLOC (1, sizeof (*conf), gf_switch_mt_dht_conf_t); if (!conf) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } @@ -967,8 +953,6 @@ init (xlator_t *this) conf->du_stats = GF_CALLOC (conf->subvolume_cnt, sizeof (dht_du_t), gf_switch_mt_dht_du_t); if (!conf->du_stats) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } |