]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - udp_send.c
Remove unused field "sc" of struct udp_target.
[paraslash.git] / udp_send.c
index ba7163a8dcdbcffcc9f60772a7d34c5f3c0aec28..35637f7ada278e9dcfbe06d8447c0ec58aadc457 100644 (file)
@@ -43,8 +43,6 @@
 struct udp_target {
        /** Track time (seconds) of last ICMP Port Unreachable error */
        time_t last_unreachable;
-       /** Common sender client data */
-       struct sender_client *sc;
        /** The opaque structure returned by vss_add_fec_client(). */
        struct fec_client *fc;
        /** The FEC parameters for this target. */
@@ -339,7 +337,7 @@ static int udp_com_add(struct sender_command_data *scd)
                return -E_TARGET_EXISTS;
        }
        ut = para_calloc(sizeof(*ut));
-       sc = ut->sc = para_calloc(sizeof(*sc));
+       sc = para_calloc(sizeof(*sc));
        ut->fcp.slices_per_group      = scd->slices_per_group;
        ut->fcp.data_slices_per_group = scd->data_slices_per_group;
        ut->fcp.init_fec              = udp_init_fec;