]> Pileus Git - ~andy/linux/blobdiff - net/sctp/associola.c
net: sctp: minor: make sctp_ep_common's member 'dead' a bool
[~andy/linux] / net / sctp / associola.c
index b893aa6862f4bf92ce1afc2607e43471d5883a53..423549a714e51f6d653b5858f679eeb376ab974e 100644 (file)
@@ -104,7 +104,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a
 
        /* Initialize the object handling fields.  */
        atomic_set(&asoc->base.refcnt, 1);
-       asoc->base.dead = 0;
+       asoc->base.dead = false;
 
        /* Initialize the bind addr area.  */
        sctp_bind_addr_init(&asoc->base.bind_addr, ep->base.bind_addr.port);
@@ -407,7 +407,7 @@ void sctp_association_free(struct sctp_association *asoc)
        /* Mark as dead, so other users can know this structure is
         * going away.
         */
-       asoc->base.dead = 1;
+       asoc->base.dead = true;
 
        /* Dispose of any data lying around in the outqueue. */
        sctp_outq_free(&asoc->outqueue);