git: 651772e2219d - stable/13 - sctp: editorial cleanup

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Wed, 06 Nov 2024 12:32:11 UTC
The branch stable/13 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=651772e2219d0bfbf7d78e88db294b34c19aa675

commit 651772e2219d0bfbf7d78e88db294b34c19aa675
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-11-02 15:00:59 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-11-06 12:31:37 +0000

    sctp: editorial cleanup
    
    Improve consistency, no functional change intended.
    
    MFC after:      3 days
    
    (cherry picked from commit d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd)
---
 sys/netinet/sctp_pcb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 39b7d58c8892..653edd066596 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -312,7 +312,7 @@ sctp_mark_ifa_addr_down(uint32_t vrf_id, struct sockaddr *addr,
 		}
 	}
 
-	sctp_ifap->localifa_flags &= (~SCTP_ADDR_VALID);
+	sctp_ifap->localifa_flags &= ~SCTP_ADDR_VALID;
 	sctp_ifap->localifa_flags |= SCTP_ADDR_IFA_UNUSEABLE;
 out:
 	SCTP_IPI_ADDR_RUNLOCK();
@@ -354,7 +354,7 @@ sctp_mark_ifa_addr_up(uint32_t vrf_id, struct sockaddr *addr,
 		}
 	}
 
-	sctp_ifap->localifa_flags &= (~SCTP_ADDR_IFA_UNUSEABLE);
+	sctp_ifap->localifa_flags &= ~SCTP_ADDR_IFA_UNUSEABLE;
 	sctp_ifap->localifa_flags |= SCTP_ADDR_VALID;
 out:
 	SCTP_IPI_ADDR_RUNLOCK();