aboutsummaryrefslogtreecommitdiff
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2024-02-01 19:40:42 +0100
committerGravatar Takashi Iwai <tiwai@suse.de> 2024-02-01 19:40:42 +0100
commitd4ea2bd1bb502c54380cc44a4130660494679bb8 (patch)
tree7d14962a86c24026ce2eee8f9e67db610db23fd8 /include/net/inet_sock.h
parentALSA: usb-audio: Ignore clock selector errors for single connection (diff)
parentALSA: Various fixes for Cirrus Logic CS35L56 support (diff)
downloadlinux-d4ea2bd1bb502c54380cc44a4130660494679bb8.tar.gz
linux-d4ea2bd1bb502c54380cc44a4130660494679bb8.tar.bz2
linux-d4ea2bd1bb502c54380cc44a4130660494679bb8.zip
Merge tag 'asoc-fix-v6.8-rc2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.8 This pull request adds Richard Fitzgerald's series with extensive fixes for the CS35L56, he said: These patches fix various things that were undocumented, unknown or uncertain when the original driver code was written. And also a few things that were just bugs.
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r--include/net/inet_sock.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index aa86453f6b9b..d94c242eb3ed 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -307,11 +307,6 @@ static inline unsigned long inet_cmsg_flags(const struct inet_sock *inet)
#define inet_assign_bit(nr, sk, val) \
assign_bit(INET_FLAGS_##nr, &inet_sk(sk)->inet_flags, val)
-static inline bool sk_is_inet(struct sock *sk)
-{
- return sk->sk_family == AF_INET || sk->sk_family == AF_INET6;
-}
-
/**
* sk_to_full_sk - Access to a full socket
* @sk: pointer to a socket